Ignore:
Timestamp:
11/17/10 14:40:14 (14 years ago)
Author:
hozdoba
Message:

mise à jour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/object_template.hpp

    r128 r137  
    147147         } 
    148148 
    149          static const StrHashMap<T>& GetCurrentListObject(void) { return (AllListObj[CurrContext]); } 
    150          static Poco::HashMap<string, StrHashMap<T> >& GetAllListObject(void) { return (AllListObj); } 
    151  
    152          static void SetContext(const string& id) { ObjectTemplate<T>::CurrContext = id; } 
    153  
    154          static string& GetCurrentContextId(void) { return (ObjectTemplate<T>::CurrContext); } 
     149         static const StrHashMap<T>& GetCurrentListObject(void) 
     150         { return (AllListObj[CurrContext]); } 
     151 
     152         static Poco::HashMap<string, StrHashMap<T> >& GetAllListObject(void) 
     153         { return (AllListObj); } 
     154 
     155         static void SetContext(const string& id) 
     156         { ObjectTemplate<T>::CurrContext = id; } 
     157 
     158         static string& GetCurrentContextId(void) 
     159         { return (ObjectTemplate<T>::CurrContext); } 
    155160 
    156161      protected : 
     
    179184         } 
    180185 
    181          template <class V> static V* CreateInstanceAndParse(XMLNode& _node, const char* defaultId, bool parseAttr = true ) 
     186         template <class V> 
     187            static V* CreateInstanceAndParse(XMLNode& _node, const char* defaultId, bool parseAttr = true ) 
    182188         { 
    183189            V* instance_ptr = NULL; string did(defaultId); 
Note: See TracChangeset for help on using the changeset viewer.