|
| template<class Persistent > |
| void | Bind (const TCollection_AsciiString &theTypeName) |
| |
| iterator | begin () const |
| | Returns an iterator pointing to the first element in the map. More...
|
| |
| iterator | end () const |
| | Returns an iterator referring to the past-the-end element in the map. More...
|
| |
| const_iterator | cbegin () const |
| | Returns a const iterator pointing to the first element in the map. More...
|
| |
| const_iterator | cend () const |
| | Returns a const iterator referring to the past-the-end element in the map. More...
|
| |
| | NCollection_DataMap () |
| | Empty Constructor. More...
|
| |
| | NCollection_DataMap (const Standard_Integer theNbBuckets, const Handle< NCollection_BaseAllocator > &theAllocator=0L) |
| | Constructor. More...
|
| |
| | NCollection_DataMap (const NCollection_DataMap &theOther) |
| | Copy constructor. More...
|
| |
| | NCollection_DataMap (NCollection_DataMap &&theOther) noexcept |
| | Move constructor. More...
|
| |
| void | Exchange (NCollection_DataMap &theOther) |
| | Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well! More...
|
| |
| NCollection_DataMap & | Assign (const NCollection_DataMap &theOther) |
| | Assignment. This method does not change the internal allocator. More...
|
| |
| NCollection_DataMap & | operator= (const NCollection_DataMap &theOther) |
| | Assignment operator. More...
|
| |
| NCollection_DataMap & | operator= (NCollection_DataMap &&theOther) noexcept |
| | Move operator. More...
|
| |
| void | ReSize (const Standard_Integer N) |
| | ReSize. More...
|
| |
| Standard_Boolean | Bind (const TCollection_AsciiString &theKey, const StdObjMgt_Persistent::Instantiator &theItem) |
| | Bind binds Item to Key in map. More...
|
| |
| Standard_Boolean | Bind (TCollection_AsciiString &&theKey, const StdObjMgt_Persistent::Instantiator &theItem) |
| | Bind binds Item to Key in map. More...
|
| |
| Standard_Boolean | Bind (const TCollection_AsciiString &theKey, StdObjMgt_Persistent::Instantiator &&theItem) |
| | Bind binds Item to Key in map. More...
|
| |
| Standard_Boolean | Bind (TCollection_AsciiString &&theKey, StdObjMgt_Persistent::Instantiator &&theItem) |
| | Bind binds Item to Key in map. More...
|
| |
| StdObjMgt_Persistent::Instantiator * | Bound (const TCollection_AsciiString &theKey, const StdObjMgt_Persistent::Instantiator &theItem) |
| | Bound binds Item to Key in map. More...
|
| |
| StdObjMgt_Persistent::Instantiator * | Bound (TCollection_AsciiString &&theKey, const StdObjMgt_Persistent::Instantiator &theItem) |
| | Bound binds Item to Key in map. More...
|
| |
| StdObjMgt_Persistent::Instantiator * | Bound (const TCollection_AsciiString &theKey, StdObjMgt_Persistent::Instantiator &&theItem) |
| | Bound binds Item to Key in map. More...
|
| |
| StdObjMgt_Persistent::Instantiator * | Bound (TCollection_AsciiString &&theKey, StdObjMgt_Persistent::Instantiator &&theItem) |
| | Bound binds Item to Key in map. More...
|
| |
| Standard_Boolean | IsBound (const TCollection_AsciiString &theKey) const |
| | IsBound. More...
|
| |
| Standard_Boolean | UnBind (const TCollection_AsciiString &theKey) |
| | UnBind removes Item Key pair from map. More...
|
| |
| const StdObjMgt_Persistent::Instantiator * | Seek (const TCollection_AsciiString &theKey) const |
| | Seek returns pointer to Item by Key. Returns NULL is Key was not bound. More...
|
| |
| const StdObjMgt_Persistent::Instantiator & | Find (const TCollection_AsciiString &theKey) const |
| | Find returns the Item for Key. Raises if Key was not bound. More...
|
| |
| Standard_Boolean | Find (const TCollection_AsciiString &theKey, StdObjMgt_Persistent::Instantiator &theValue) const |
| | Find Item for key with copying. More...
|
| |
| const StdObjMgt_Persistent::Instantiator & | operator() (const TCollection_AsciiString &theKey) const |
| | operator () More...
|
| |
| StdObjMgt_Persistent::Instantiator & | operator() (const TCollection_AsciiString &theKey) |
| | operator () More...
|
| |
| StdObjMgt_Persistent::Instantiator * | ChangeSeek (const TCollection_AsciiString &theKey) |
| | ChangeSeek returns modifiable pointer to Item by Key. Returns NULL is Key was not bound. More...
|
| |
| StdObjMgt_Persistent::Instantiator & | ChangeFind (const TCollection_AsciiString &theKey) |
| | ChangeFind returns mofifiable Item by Key. Raises if Key was not bound. More...
|
| |
| 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. More...
|
| |
| void | Clear (const Handle< NCollection_BaseAllocator > &theAllocator) |
| | Clear data and reset allocator. More...
|
| |
| virtual | ~NCollection_DataMap (void) |
| | Destructor. More...
|
| |
| Standard_Integer | Size (void) const |
| | Size. More...
|
| |
| Standard_Integer | NbBuckets () const |
| | NbBuckets. More...
|
| |
| Standard_Integer | Extent () const |
| | Extent. More...
|
| |
| Standard_Boolean | IsEmpty () const |
| | IsEmpty. More...
|
| |
| void | Statistics (Standard_OStream &S) const |
| | Statistics. More...
|
| |
| const Handle< NCollection_BaseAllocator > & | Allocator () const |
| | Returns attached allocator. More...
|
| |
|
| typedef TCollection_AsciiString | key_type |
| | STL-compliant typedef for key type. More...
|
| |
| typedef StdObjMgt_Persistent::Instantiator | value_type |
| | STL-compliant typedef for value type. More...
|
| |
| typedef NCollection_StlIterator< std::forward_iterator_tag, Iterator, StdObjMgt_Persistent::Instantiator, false > | iterator |
| | Shorthand for a regular iterator type. More...
|
| |
| typedef NCollection_StlIterator< std::forward_iterator_tag, Iterator, StdObjMgt_Persistent::Instantiator, true > | const_iterator |
| | Shorthand for a constant iterator type. More...
|
| |
| Standard_Boolean | lookup (const TCollection_AsciiString &theKey, DataMapNode *&theNode) const |
| | Lookup for particular key in map. More...
|
| |
| Standard_Boolean | lookup (const TCollection_AsciiString &theKey, DataMapNode *&theNode, size_t &theHash) const |
| | Lookup for particular key in map. More...
|
| |
| bool | IsEqual (const TCollection_AsciiString &theKey1, const TCollection_AsciiString &theKey2) const |
| |
| size_t | HashCode (const TCollection_AsciiString &theKey, const int theUpperBound) const |
| |
| | NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single, const Handle< NCollection_BaseAllocator > &theAllocator) |
| | Constructor. More...
|
| |
| | NCollection_BaseMap (NCollection_BaseMap &&theOther) noexcept |
| | Move Constructor. More...
|
| |
| virtual | ~NCollection_BaseMap () |
| | Destructor. More...
|
| |
| Standard_Boolean | BeginResize (const Standard_Integer NbBuckets, Standard_Integer &NewBuckets, NCollection_ListNode **&data1, NCollection_ListNode **&data2) const |
| | BeginResize. More...
|
| |
| void | EndResize (const Standard_Integer NbBuckets, const Standard_Integer NewBuckets, NCollection_ListNode **data1, NCollection_ListNode **data2) |
| | EndResize. More...
|
| |
| Standard_Boolean | Resizable () const |
| | Resizable. More...
|
| |
| Standard_Integer | Increment () |
| | Increment. More...
|
| |
| Standard_Integer | Decrement () |
| | Decrement. More...
|
| |
| void | Destroy (NCollection_DelMapNode fDel, Standard_Boolean doReleaseMemory=Standard_True) |
| | Destroy. More...
|
| |
| Standard_Integer | NextPrimeForMap (const Standard_Integer N) const |
| | NextPrimeForMap. More...
|
| |
| void | exchangeMapsData (NCollection_BaseMap &theOther) |
| | Exchange content of two maps without data copying. More...
|
| |
| NCollection_BaseMap & | operator= (NCollection_BaseMap &&) noexcept=delete |
| | Move operator. More...
|
| |
| | NCollection_BaseMap (const NCollection_BaseMap &)=delete |
| | Copy Constructor. More...
|
| |
| NCollection_BaseMap & | operator= (const NCollection_BaseMap &)=delete |
| | Assign operator. More...
|
| |
| Handle< NCollection_BaseAllocator > | myAllocator |
| |
| NCollection_ListNode ** | myData1 |
| |
| NCollection_ListNode ** | myData2 |
| |