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

Last change on this file since 539 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • 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.1 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  StdString CObjectFactory::GenUId<U>(void) ;
17 
18  macro(CField)
19  macro(CFile)
20  macro(CGrid)
21  macro(CAxis)
22  macro(CDomain)
23  macro(CContext)
24  macro(CVariable)
25
26  macro(CFieldGroup)
27  macro(CFileGroup)
28  macro(CGridGroup)
29  macro(CAxisGroup)
30  macro(CDomainGroup)
31  macro(CContextGroup)
32  macro(CVariableGroup)
33}
Note: See TracBrowser for help on using the repository browser.