source: XIOS/trunk/src/group_factory_decl.cpp @ 887

Last change on this file since 887 was 887, checked in by mhnguyen, 8 years ago

Adding a new type of element into grid: Scalar

+) Add a new node Scalar for xml
+) Make some change on writing scalar value
+) Reorganize some codes
+) Remove some redundant codes

Test
+) On Curie
+) All tests pass

  • 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.5 KB
Line 
1#include "group_factory_impl.hpp"
2#include "node_type.hpp"
3
4namespace xios
5{
6# define  macro(U) \
7  template void CGroupFactory::AddGroup<U>(shared_ptr<U> pgroup,shared_ptr<U> cgroup); \
8  template void CGroupFactory::AddChild<U>(shared_ptr<U> group, shared_ptr<U::RelChild> child); \
9  template shared_ptr<U>  CGroupFactory::GetGroup<U>(shared_ptr<U> group, const StdString & id); \
10  template shared_ptr<U::RelChild> CGroupFactory::GetChild<U>(shared_ptr<U> group, const StdString & id); \
11  template int CGroupFactory::GetGroupNum<U>(shared_ptr<U> group); \
12  template int CGroupFactory::GetGroupIdNum<U>(shared_ptr<U> group); \
13  template int CGroupFactory::GetChildNum<U>(shared_ptr<U> group); \
14  template int CGroupFactory::GetChildIdNum<U>(boost::shared_ptr<U> group); \
15  template bool CGroupFactory::HasGroup<U>(shared_ptr<U> group, const StdString & id); \
16  template bool CGroupFactory::HasChild<U>(boost::shared_ptr<U> group, const StdString & id); \
17  template shared_ptr<U> CGroupFactory::CreateGroup<U>(shared_ptr<U> group, const StdString & id ); \
18  template shared_ptr<U::RelChild>  CGroupFactory::CreateChild<U>(shared_ptr<U> group, const StdString & id);
19
20  macro(CFieldGroup)
21  macro(CFileGroup)
22  macro(CGridGroup)
23  macro(CAxisGroup)
24  macro(CDomainGroup)
25  macro(CContextGroup)
26  macro(CVariableGroup)
27  macro(CInverseAxisGroup)
28  macro(CZoomAxisGroup)
29  macro(CInterpolateAxisGroup)
30  macro(CZoomDomainGroup)
31  macro(CInterpolateDomainGroup)
32  macro(CGenerateRectilinearDomainGroup)
33  macro(CScalarGroup)
34}
Note: See TracBrowser for help on using the repository browser.