Changeset 13116 for trunk/gsdl/src/recpt/OIDtools.cpp
- Timestamp:
- 2006-10-16T10:59:46+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/OIDtools.cpp
r11259 r13116 276 276 } 277 277 278 // checks if OID uses ".fc", ".lc", ".pr", " .ns",279 // or ".ps" syntax (first child, last child, parent, 278 // checks if OID uses ".fc", ".lc", ".pr", "rt", ".ns", 279 // or ".ps" syntax (first child, last child, parent, root, 280 280 // next sibling, previous sibling) 281 281 bool needs_translating (const text_t &OID) { … … 285 285 text_t tail = substr (OID.end()-3, OID.end()); 286 286 if (tail == ".fc" || tail == ".lc" || tail == ".pr" || 287 tail == ". ns" || tail == ".ps") return true;287 tail == ".rt" || tail == ".ns" || tail == ".ps") return true; 288 288 289 289 return false; … … 296 296 text_t tail = substr (OID.end()-3, OID.end()); 297 297 while (tail == ".fc" || tail == ".lc" || tail == ".pr" || 298 tail == ". ns" || tail == ".ps") {298 tail == ".rt" || tail == ".ns" || tail == ".ps") { 299 299 OID.erase (OID.end()-3, OID.end()); 300 300 tail = substr (OID.end()-3, OID.end());
Note:
See TracChangeset
for help on using the changeset viewer.