! this method returns true if such an object is defined (name exists) */
| 137 | this method returns true if such an object is defined (name exists) |
| 138 | */ |
| 139 | bool IsDefined(const std::string & name) |
| 140 | { |
| 141 | Iterator i = table.find(name); |
| 142 | |
| 143 | if( i != table.end() ) |
| 144 | // we have this object in our table |
| 145 | return true; |
| 146 | |
| 147 | return false; |
| 148 | } |
| 149 | |
| 150 | |
| 151 |