Changeset 172 for XMLIO_V2/dev/dev_rv/src/xmlio/object_template_impl.hpp
- Timestamp:
- 04/12/11 16:54:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/object_template_impl.hpp
r168 r172 27 27 28 28 template <class T> 29 CObjectTemplate<T>::CObjectTemplate (const CObjectTemplate<T> & object,30 29 CObjectTemplate<T>::CObjectTemplate 30 (const CObjectTemplate<T> & object, bool withAttrList, bool withId) 31 31 : tree::CAttributeMap() 32 32 , CObject() … … 36 36 ERROR("CObjectTemplate<T> construtor 3", << "Not completly implemented yet !"); 37 37 } 38 39 template <class T> 40 CObjectTemplate<T>::~CObjectTemplate(void) 41 { /* Ne rien faire de plus */ } 42 43 ///-------------------------------------------------------------- 38 44 39 45 template <class T> 40 46 std::vector<boost::shared_ptr<T> > & 41 47 CObjectTemplate<T>::GetAllVectobject(const StdString & contextId) 42 { return (CObjectTemplate<T>::AllVectObj[contextId]); }43 44 template <class T>45 CObjectTemplate<T>::~CObjectTemplate(void)46 { /* Ne rien faire de plus */ }47 48 { 49 return (CObjectTemplate<T>::AllVectObj[contextId]); 50 } 51 52 //--------------------------------------------------------------- 53 48 54 template <class T> 49 55 StdString CObjectTemplate<T>::toString(void) const … … 59 65 template <class T> 60 66 void CObjectTemplate<T>::fromString(const StdString & str) 61 { ERROR("CObjectTemplate<T>::fromString(str)", 62 << "[ str = " << str << "] Not implemented yet !"); } 67 { 68 ERROR("CObjectTemplate<T>::fromString(str)", 69 << "[ str = " << str << "] Not implemented yet !"); 70 } 71 72 //--------------------------------------------------------------- 73 74 template <class T> 75 void CObjectTemplate<T>::toBinary(StdOStream & os) const 76 { 77 SuperClassMap::toBinary(os); 78 } 79 80 template <class T> 81 void CObjectTemplate<T>::fromBinary(StdIStream & is) 82 { 83 SuperClassMap::fromBinary(is); 84 } 85 86 //--------------------------------------------------------------- 63 87 64 88 template <class T> … … 68 92 CAttributeMap::setAttributes(attributes); 69 93 } 70 94 95 //--------------------------------------------------------------- 96 71 97 template <class T> 72 98 tree::ENodeType CObjectTemplate<T>::getType(void) const … … 74 100 return (T::GetType()); 75 101 } 102 103 //--------------------------------------------------------------- 76 104 77 105 template <class T> 78 106 bool CObjectTemplate<T>::hasChild(void) const 79 { return (false); } 107 { 108 return (false); 109 } 110 111 //--------------------------------------------------------------- 80 112 81 113 template <class T> 82 114 void CObjectTemplate<T>::solveDescInheritance(const CAttributeMap * const parent) 83 { SuperClassMap::setAttributes(parent); } 115 { 116 SuperClassMap::setAttributes(parent); 117 } 118 119 ///-------------------------------------------------------------- 84 120 85 121 } // namespace xmlioserver
Note: See TracChangeset
for help on using the changeset viewer.