Changeset 115 for XMLIO_V2/dev/dev_rv/src/XMLIO/group_template.hpp
- Timestamp:
- 07/16/10 14:50:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/XMLIO/group_template.hpp
r113 r115 46 46 } 47 47 48 GroupTemplate<T, U>& createGroup(const string _id) throw (XMLIOUndefinedValueException)48 GroupTemplate<T, U>& createGroup(const string& _id) throw (XMLIOUndefinedValueException) 49 49 { 50 50 GroupTemplate<T, U> &obj = GroupTemplate<T, U>::CreateObject(_id); … … 62 62 } 63 63 64 GroupTemplate<T, U>& getGroup(const string _id) throw (XMLIOUndefinedValueException) { return (*groupList[_id]); }64 GroupTemplate<T, U>& getGroup(const string& _id) throw (XMLIOUndefinedValueException) { return (*groupList[_id]); } 65 65 bool hasGroup(const string _id) { return (groupList.hasMappedValue(_id)); } 66 66 … … 71 71 /// Pour les objets enfants /// 72 72 73 T& createChild(const string _id) throw (XMLIOUndefinedValueException)73 T& createChild(const string& _id) throw (XMLIOUndefinedValueException) 74 74 { 75 75 T& obj = ObjectTemplate<T>::CreateObject(_id); … … 85 85 } 86 86 87 T& getChild(const string _id) throw (XMLIOUndefinedValueException) { return (*childList[_id]); }88 bool hasChild(const string _id) { return (childList.hasMappedValue(_id)); }87 T& getChild(const string& _id) throw (XMLIOUndefinedValueException) { return (*childList[_id]); } 88 bool hasChild(const string& _id) { return (childList.hasMappedValue(_id)); } 89 89 90 90 const StrHashMap<T*>& getCurrentListChild(void) const { return (childList); } … … 152 152 } 153 153 154 155 154 template <class V> V* createGroupAndParse(THashAttributes& attributes, XMLNode& _node) 156 155 {
Note: See TracChangeset
for help on using the changeset viewer.