Ignore:
Timestamp:
04/12/11 16:54:20 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/object_template_impl.hpp

    r168 r172  
    2727 
    2828   template <class T> 
    29       CObjectTemplate<T>::CObjectTemplate(const CObjectTemplate<T> & object, 
    30                                          bool withAttrList, bool withId) 
     29      CObjectTemplate<T>::CObjectTemplate 
     30         (const CObjectTemplate<T> & object, bool withAttrList, bool withId) 
    3131         : tree::CAttributeMap() 
    3232         , CObject() 
     
    3636      ERROR("CObjectTemplate<T> construtor 3", << "Not completly implemented yet !"); 
    3737   } 
     38    
     39   template <class T> 
     40      CObjectTemplate<T>::~CObjectTemplate(void) 
     41   { /* Ne rien faire de plus */ } 
     42 
     43   ///-------------------------------------------------------------- 
    3844 
    3945   template <class T> 
    4046      std::vector<boost::shared_ptr<T> > & 
    4147         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    
    4854   template <class T> 
    4955      StdString CObjectTemplate<T>::toString(void) const 
     
    5965   template <class T> 
    6066      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   //--------------------------------------------------------------- 
    6387 
    6488   template <class T> 
     
    6892      CAttributeMap::setAttributes(attributes); 
    6993   } 
    70     
     94 
     95   //--------------------------------------------------------------- 
     96 
    7197   template <class T> 
    7298      tree::ENodeType CObjectTemplate<T>::getType(void) const 
     
    74100      return (T::GetType()); 
    75101   } 
     102    
     103   //--------------------------------------------------------------- 
    76104 
    77105   template <class T> 
    78106      bool CObjectTemplate<T>::hasChild(void) const 
    79    { return (false); } 
     107   {  
     108      return (false);  
     109   } 
     110 
     111   //--------------------------------------------------------------- 
    80112 
    81113   template <class T> 
    82114      void CObjectTemplate<T>::solveDescInheritance(const CAttributeMap * const parent) 
    83    { SuperClassMap::setAttributes(parent); } 
     115   {  
     116      SuperClassMap::setAttributes(parent);  
     117   } 
     118 
     119   ///-------------------------------------------------------------- 
    84120 
    85121} // namespace xmlioserver 
Note: See TracChangeset for help on using the changeset viewer.