C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Table of names correspondence. More...
#include <name_item.h>
Public Member Functions | |
MbNamePairList () | |
Constructor. | |
~MbNamePairList () | |
Destructor. | |
bool | AddNameData (const MbName *orig, const MbName *copy) |
Add names of object and its duplicate. More... | |
void | Reserve (size_t count) |
Allocate memory for elements. | |
void | Erase () |
Erase array without deleting memory for elements. | |
void | Free () |
Delete memory for elements. | |
bool | Clean (const c3d::ConstNamesVector &delNamesCopies, bool deleteNames=false) |
Clean up unnecessary pairs by name copies. | |
bool | Replace (const MbName &newNameCopies, const c3d::ConstNamesVector &oldNamesCopies) |
Replace names copies. | |
const MbName * | FindOriginalByCopy (const MbName *) const |
Find name of object by name of its duplicate. | |
const MbName * | FindCopyByOriginal (const MbName &) const |
Find name of duplicate object by name of its original. | |
const MbName * | FindOriginalByCopy (const SimpleName &originalHash) const |
Find the name of the original object by the hash of the name of the copy of the object. | |
Friends | |
class | MbNameMaker |
class | MbSNameMaker |
Table of names correspondence.
Table of names correspondence of originals and its duplicates in arrays.
Add names of object and its duplicate.
Add names of object and its duplicate, which have to be created by new.
[in] | orig | - The name of the original. |
[in] | copy | - The name of the copy. |