Changeset 120 for XMLIO_V2/dev/dev_rv/src/XMLIO/group_template.hpp
- Timestamp:
- 09/08/10 15:02:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/XMLIO/group_template.hpp
r115 r120 41 41 // on complÚte les attributs des enfants. 42 42 childvect[i] -> resolveDescInheritance(this); 43 43 44 for(unsigned int i = 0; i < groupvect.size() ; i++) 44 45 // on complÚte les attributs des groupes enfants. … … 48 49 GroupTemplate<T, U>& createGroup(const string& _id) throw (XMLIOUndefinedValueException) 49 50 { 50 GroupTemplate<T, U> &obj = GroupTemplate<T, U>::CreateObject(_id);51 GroupTemplate<T, U> &obj = *GroupTemplate<T, U>::CreateObject(_id); 51 52 groupList.addObject(&obj); 52 53 … … 56 57 GroupTemplate<T, U>& createGroup(void) 57 58 { 58 GroupTemplate<T, U>& obj = GroupTemplate<T, U>::CreateObject();59 GroupTemplate<T, U>& obj = *(GroupTemplate<T, U>::CreateObject()); 59 60 groupList.addObject(&obj); 60 61 … … 73 74 T& createChild(const string& _id) throw (XMLIOUndefinedValueException) 74 75 { 75 T& obj = ObjectTemplate<T>::CreateObject(_id);76 T& obj = *ObjectTemplate<T>::CreateObject(_id); 76 77 childList.addObject(&obj); 77 78 return (obj); … … 80 81 T& createChild(void) 81 82 { 82 T& obj = ObjectTemplate<T>::CreateObject();83 T& obj = *ObjectTemplate<T>::CreateObject(); 83 84 childList.addObject(&obj); 84 85 return (obj);
Note: See TracChangeset
for help on using the changeset viewer.