Ignore:
Timestamp:
10/30/15 16:33:48 (8 years ago)
Author:
rlacroix
Message:

Keep track of whether an object id was automatically generated or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/object_factory_decl.cpp

    r689 r769  
    55{ 
    66#define macro(U) \ 
    7   template shared_ptr<U> CObjectFactory::GetObject<U>(const StdString & id);  \ 
    8   template shared_ptr<U> CObjectFactory::GetObject<U>(const StdString& context,const StdString & id); \ 
    9   template shared_ptr<U> CObjectFactory::GetObject<U>(const U * const object); \ 
     7  template shared_ptr<U> CObjectFactory::GetObject<U>(const StdString& id);  \ 
     8  template shared_ptr<U> CObjectFactory::GetObject<U>(const StdString& context,const StdString& id); \ 
     9  template shared_ptr<U> CObjectFactory::GetObject<U>(const U* const object); \ 
    1010  template int CObjectFactory::GetObjectNum<U>(void); \ 
    1111  template int CObjectFactory::GetObjectIdNum<U>(void); \ 
    12   template const std::vector<shared_ptr<U> >& CObjectFactory::GetObjectVector<U>(const StdString & context ); \ 
    13   template bool CObjectFactory::HasObject<U>(const StdString & id); \ 
    14   template bool CObjectFactory::HasObject<U>(const StdString& context,const StdString & id); \ 
    15   template boost::shared_ptr<U> CObjectFactory::CreateObject<U>(const StdString & id ); \ 
    16   template  StdString CObjectFactory::GenUId<U>(void); 
     12  template const std::vector<shared_ptr<U> >& CObjectFactory::GetObjectVector<U>(const StdString& context ); \ 
     13  template bool CObjectFactory::HasObject<U>(const StdString& id); \ 
     14  template bool CObjectFactory::HasObject<U>(const StdString& context,const StdString& id); \ 
     15  template boost::shared_ptr<U> CObjectFactory::CreateObject<U>(const StdString& id ); \ 
     16  template const StdString& CObjectFactory::GetUIdBase<U>(void); \ 
     17  template StdString CObjectFactory::GenUId<U>(void); \ 
     18  template bool CObjectFactory::IsGenUId<U>(const StdString& id); \ 
    1719 
    1820  macro(CField) 
Note: See TracChangeset for help on using the changeset viewer.