MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Add

Method Add

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:1426–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426void TiXmlAttributeSet::Add(TiXmlAttribute* addMe)
1427{
1428#ifdef TIXML_USE_STL
1429 assert(!Find(TIXML_STRING(addMe->Name()))); // Shouldn't be multiply adding to the set.
1430#else
1431 assert(!Find(addMe->Name())); // Shouldn't be multiply adding to the set.
1432#endif
1433
1434 addMe->next = &sentinel;
1435 addMe->prev = sentinel.prev;
1436
1437 sentinel.prev->next = addMe;
1438 sentinel.prev = addMe;
1439}
1440
1441void TiXmlAttributeSet::Remove(TiXmlAttribute* removeMe)
1442{

Callers 15

PrimTestMethod · 0.45
PrimTestTriIndexMethod · 0.45
PrimTestIndexTriMethod · 0.45
_CollideMethod · 0.45
_CollideMethod · 0.45
AddFaceFunction · 0.45
ComputeGlobalBoxMethod · 0.45
_CollideMethod · 0.45
_SegmentStabMethod · 0.45
_RayStabMethod · 0.45
AddTriFunction · 0.45
AddTriangleFunction · 0.45

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected