|
Open CASCADE Technology 7.9.3
|
Indexed map of scene nodes with custom search algorithm. More...
#include <RWGltf_GltfSceneNodeMap.hxx>

Public Member Functions | |
| RWGltf_GltfSceneNodeMap () | |
| Empty constructor. | |
| Standard_Integer | FindIndex (const TCollection_AsciiString &theNodeId) const |
| Find index from document node string identifier. | |
| Public Member Functions inherited from NCollection_IndexedMap< XCAFPrs_DocumentNode > | |
| const_iterator | cbegin () const |
| Returns a const iterator pointing to the first element in the map. | |
| const_iterator | cend () const |
| Returns a const iterator referring to the past-the-end element in the map. | |
| NCollection_IndexedMap () | |
| Empty constructor. | |
| void | Exchange (NCollection_IndexedMap &theOther) |
| Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well! | |
| NCollection_IndexedMap & | Assign (const NCollection_IndexedMap &theOther) |
| Assign. This method does not change the internal allocator. | |
| NCollection_IndexedMap & | operator= (const NCollection_IndexedMap &theOther) |
| Assignment operator. | |
| void | ReSize (const Standard_Integer theExtent) |
| ReSize. | |
| Standard_Integer | Add (const XCAFPrs_DocumentNode &theKey1) |
| Add. | |
| Standard_Boolean | Contains (const XCAFPrs_DocumentNode &theKey1) const |
| Contains. | |
| void | Substitute (const Standard_Integer theIndex, const XCAFPrs_DocumentNode &theKey1) |
| Substitute. | |
| void | Swap (const Standard_Integer theIndex1, const Standard_Integer theIndex2) |
| Swaps two elements with the given indices. | |
| void | RemoveLast (void) |
| RemoveLast. | |
| void | RemoveFromIndex (const Standard_Integer theIndex) |
| Remove the key of the given index. Caution! The index of the last key can be changed. | |
| Standard_Boolean | RemoveKey (const XCAFPrs_DocumentNode &theKey1) |
| Remove the given key. Caution! The index of the last key can be changed. | |
| const XCAFPrs_DocumentNode & | FindKey (const Standard_Integer theIndex) const |
| FindKey. | |
| const XCAFPrs_DocumentNode & | operator() (const Standard_Integer theIndex) const |
| operator () | |
| Standard_Integer | FindIndex (const XCAFPrs_DocumentNode &theKey1) const |
| FindIndex. | |
| void | Clear (const Standard_Boolean doReleaseMemory=Standard_False) |
| Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused. | |
| virtual | ~NCollection_IndexedMap (void) |
| Destructor. | |
| Standard_Integer | Size (void) const |
| Size. | |
| Public Member Functions inherited from NCollection_BaseMap | |
| Standard_Integer | NbBuckets () const |
| NbBuckets. | |
| Standard_Integer | Extent () const |
| Extent. | |
| Standard_Boolean | IsEmpty () const |
| IsEmpty. | |
| void | Statistics (Standard_OStream &S) const |
| Statistics. | |
| const Handle< NCollection_BaseAllocator > & | Allocator () const |
| Returns attached allocator. | |
Additional Inherited Members | |
| Public Types inherited from NCollection_IndexedMap< XCAFPrs_DocumentNode > | |
| typedef XCAFPrs_DocumentNode | key_type |
| STL-compliant typedef for key type. | |
| typedef NCollection_StlIterator< std::forward_iterator_tag, Iterator, XCAFPrs_DocumentNode, true > | const_iterator |
| Shorthand for a constant iterator type. | |
| Protected Member Functions inherited from NCollection_IndexedMap< XCAFPrs_DocumentNode > | |
| Standard_Boolean | lookup (const XCAFPrs_DocumentNode &theKey, IndexedMapNode *&theNode, size_t &theHash) const |
| Lookup for particular key in map. | |
| bool | IsEqual (const XCAFPrs_DocumentNode &theKey1, const XCAFPrs_DocumentNode &theKey2) const |
| size_t | HashCode (const XCAFPrs_DocumentNode &theKey, const int theUpperBound) const |
| Protected Member Functions inherited from NCollection_BaseMap | |
| NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single, const Handle< NCollection_BaseAllocator > &theAllocator) | |
| Constructor. | |
| NCollection_BaseMap (NCollection_BaseMap &&theOther) noexcept | |
| Move Constructor. | |
| virtual | ~NCollection_BaseMap () |
| Destructor. | |
| Standard_Boolean | BeginResize (const Standard_Integer NbBuckets, Standard_Integer &NewBuckets, NCollection_ListNode **&data1, NCollection_ListNode **&data2) const |
| BeginResize. | |
| void | EndResize (const Standard_Integer NbBuckets, const Standard_Integer NewBuckets, NCollection_ListNode **data1, NCollection_ListNode **data2) |
| EndResize. | |
| Standard_Boolean | Resizable () const |
| Resizable. | |
| Standard_Integer | Increment () |
| Increment. | |
| Standard_Integer | Decrement () |
| Decrement. | |
| void | Destroy (NCollection_DelMapNode fDel, Standard_Boolean doReleaseMemory=Standard_True) |
| Destroy. | |
| Standard_Integer | NextPrimeForMap (const Standard_Integer N) const |
| NextPrimeForMap. | |
| void | exchangeMapsData (NCollection_BaseMap &theOther) |
| Exchange content of two maps without data copying. | |
| NCollection_BaseMap & | operator= (NCollection_BaseMap &&) noexcept=delete |
| Move operator. | |
| NCollection_BaseMap (const NCollection_BaseMap &)=delete | |
| Copy Constructor. | |
| NCollection_BaseMap & | operator= (const NCollection_BaseMap &)=delete |
| Assign operator. | |
| Protected Attributes inherited from NCollection_IndexedMap< XCAFPrs_DocumentNode > | |
| NCollection_DefaultHasher< XCAFPrs_DocumentNode > | myHasher |
| Protected Attributes inherited from NCollection_BaseMap | |
| Handle< NCollection_BaseAllocator > | myAllocator |
| NCollection_ListNode ** | myData1 |
| NCollection_ListNode ** | myData2 |
Indexed map of scene nodes with custom search algorithm.
|
inline |
Empty constructor.
|
inline |
Find index from document node string identifier.