Changeset 354 for XIOS/trunk/src/group_factory.hpp
- Timestamp:
- 09/06/12 17:14:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_factory.hpp
r352 r354 23 23 24 24 template <typename U> 25 static inlinevoid AddGroup(boost::shared_ptr<U> pgroup,25 static void AddGroup(boost::shared_ptr<U> pgroup, 26 26 boost::shared_ptr<U> cgroup); 27 27 28 28 template <typename U> 29 static inlinevoid AddChild(boost::shared_ptr<U> group,29 static void AddChild(boost::shared_ptr<U> group, 30 30 boost::shared_ptr<typename U::RelChild> child); 31 31 … … 34 34 35 35 template <typename U> 36 static inlineboost::shared_ptr<U>36 static boost::shared_ptr<U> 37 37 GetGroup(boost::shared_ptr<U> group, const StdString & id); 38 38 39 39 template <typename U> 40 static inlineboost::shared_ptr<typename U::RelChild>40 static boost::shared_ptr<typename U::RelChild> 41 41 GetChild(boost::shared_ptr<U> group, const StdString & id); 42 42 43 43 template <typename U> 44 static in line int GetGroupNum(boost::shared_ptr<U> group);44 static int GetGroupNum(boost::shared_ptr<U> group); 45 45 template <typename U> 46 static in line int GetGroupIdNum(boost::shared_ptr<U> group);46 static int GetGroupIdNum(boost::shared_ptr<U> group); 47 47 template <typename U> 48 static in line int GetChildNum(boost::shared_ptr<U> group);48 static int GetChildNum(boost::shared_ptr<U> group); 49 49 template <typename U> 50 static in line int GetChildIdNum(boost::shared_ptr<U> group);50 static int GetChildIdNum(boost::shared_ptr<U> group); 51 51 52 52 /// Tests /// 53 53 template <typename U> 54 static inlinebool HasGroup(boost::shared_ptr<U> group, const StdString & id);54 static bool HasGroup(boost::shared_ptr<U> group, const StdString & id); 55 55 56 56 template <typename U> 57 static inlinebool HasChild(boost::shared_ptr<U> group, const StdString & id);57 static bool HasChild(boost::shared_ptr<U> group, const StdString & id); 58 58 59 59 /// Instanciateur /// 60 60 template <typename U> 61 static inlineboost::shared_ptr<U>61 static boost::shared_ptr<U> 62 62 CreateGroup(boost::shared_ptr<U> group, const StdString & id = StdString("")); 63 63 64 64 template <typename U> 65 static inlineboost::shared_ptr<typename U::RelChild>65 static boost::shared_ptr<typename U::RelChild> 66 66 CreateChild(boost::shared_ptr<U> group, const StdString & id = StdString("")); 67 67
Note: See TracChangeset
for help on using the changeset viewer.