source: XIOS/trunk/src/object_factory_decl.cpp @ 773

Last change on this file since 773 was 769, checked in by rlacroix, 8 years ago

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

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1#include "object_factory_impl.hpp"
2#include "node_type.hpp"
3
4namespace xios
5{
6#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); \
10  template int CObjectFactory::GetObjectNum<U>(void); \
11  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 const StdString& CObjectFactory::GetUIdBase<U>(void); \
17  template StdString CObjectFactory::GenUId<U>(void); \
18  template bool CObjectFactory::IsGenUId<U>(const StdString& id); \
19
20  macro(CField)
21  macro(CFile)
22  macro(CGrid)
23  macro(CAxis)
24  macro(CDomain)
25  macro(CContext)
26  macro(CCalendarWrapper)
27  macro(CVariable)
28  macro(CInverseAxis)
29  macro(CZoomAxis)
30  macro(CInterpolateAxis)
31  macro(CZoomDomain)
32  macro(CInterpolateDomain)
33  macro(CGenerateRectilinearDomain)
34
35  macro(CFieldGroup)
36  macro(CFileGroup)
37  macro(CGridGroup)
38  macro(CAxisGroup)
39  macro(CDomainGroup)
40  macro(CContextGroup)
41  macro(CVariableGroup)
42  macro(CInverseAxisGroup)
43  macro(CZoomAxisGroup)
44  macro(CInterpolateAxisGroup)
45  macro(CZoomDomainGroup)
46  macro(CInterpolateDomainGroup)
47  macro(CGenerateRectilinearDomainGroup)
48}
Note: See TracBrowser for help on using the repository browser.