#include <NMTTools_CommonBlockPool.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | NMTTools_CommonBlockPool (const Standard_Integer Length=0, const Standard_Integer BlockLength=5) |
| Standard_EXPORT void | Resize (const Standard_Integer theNewLength) |
| Standard_EXPORT void | Destroy () |
| ~NMTTools_CommonBlockPool () | |
| Standard_EXPORT Standard_Integer | Length () const |
| Standard_EXPORT Standard_Integer | Extent () const |
| Standard_EXPORT Standard_Integer | FactLength () const |
| Standard_EXPORT Standard_Integer | Append (const NMTTools_ListOfCommonBlock &Value) |
| Standard_EXPORT void | Remove (const Standard_Integer Index) |
| Standard_EXPORT const NMTTools_ListOfCommonBlock & | Value (const Standard_Integer Index) const |
| const NMTTools_ListOfCommonBlock & | operator() (const Standard_Integer Index) const |
| Standard_EXPORT NMTTools_ListOfCommonBlock & | ChangeValue (const Standard_Integer Index) |
| NMTTools_ListOfCommonBlock & | operator() (const Standard_Integer Index) |
| Standard_EXPORT void | SetBlockLength (const Standard_Integer aBL) |
| Standard_EXPORT Standard_Integer | BlockLength () const |
Private Member Functions | |
| Standard_EXPORT | NMTTools_CommonBlockPool (const NMTTools_CommonBlockPool &AnArray) |
| Standard_EXPORT NMTTools_CommonBlockPool & | Assign (const NMTTools_CommonBlockPool &Other) |
| NMTTools_CommonBlockPool & | operator= (const NMTTools_CommonBlockPool &Other) |
| Standard_EXPORT Standard_Boolean | IsInvalidIndex (const Standard_Integer Index) const |
Private Attributes | |
| Standard_Address | myStart |
| Standard_Integer | myLength |
| Standard_Integer | myFactLength |
| Standard_Integer | myBlockLength |
| Standard_Boolean | myIsAllocated |
| Standard_EXPORT NMTTools_CommonBlockPool.NMTTools_CommonBlockPool | ( | const Standard_Integer | Length = 0, |
| const Standard_Integer | BlockLength = 5 |
||
| ) |
| NMTTools_CommonBlockPool.~NMTTools_CommonBlockPool | ( | ) |
References Destroy().
| Standard_EXPORT NMTTools_CommonBlockPool.NMTTools_CommonBlockPool | ( | const NMTTools_CommonBlockPool & | AnArray | ) | [private] |
| void* NMTTools_CommonBlockPool.operator new | ( | size_t | , |
| void * | anAddress | ||
| ) |
| void* NMTTools_CommonBlockPool.operator new | ( | size_t | size | ) |
| void NMTTools_CommonBlockPool.operator delete | ( | void * | anAddress | ) |
| Standard_EXPORT void NMTTools_CommonBlockPool.Resize | ( | const Standard_Integer | theNewLength | ) |
| Standard_EXPORT void NMTTools_CommonBlockPool.Destroy | ( | ) |
| Standard_EXPORT Standard_Integer NMTTools_CommonBlockPool.Length | ( | ) | const |
| Standard_EXPORT Standard_Integer NMTTools_CommonBlockPool.Extent | ( | ) | const |
| Standard_EXPORT Standard_Integer NMTTools_CommonBlockPool.FactLength | ( | ) | const |
| Standard_EXPORT Standard_Integer NMTTools_CommonBlockPool.Append | ( | const NMTTools_ListOfCommonBlock & | Value | ) |
| Standard_EXPORT void NMTTools_CommonBlockPool.Remove | ( | const Standard_Integer | Index | ) |
| Standard_EXPORT const NMTTools_ListOfCommonBlock& NMTTools_CommonBlockPool.Value | ( | const Standard_Integer | Index | ) | const |
| const NMTTools_ListOfCommonBlock& NMTTools_CommonBlockPool.operator() | ( | const Standard_Integer | Index | ) | const |
References Value().
| Standard_EXPORT NMTTools_ListOfCommonBlock& NMTTools_CommonBlockPool.ChangeValue | ( | const Standard_Integer | Index | ) |
| NMTTools_ListOfCommonBlock& NMTTools_CommonBlockPool.operator() | ( | const Standard_Integer | Index | ) |
References ChangeValue().
| Standard_EXPORT void NMTTools_CommonBlockPool.SetBlockLength | ( | const Standard_Integer | aBL | ) |
| Standard_EXPORT Standard_Integer NMTTools_CommonBlockPool.BlockLength | ( | ) | const |
| Standard_EXPORT NMTTools_CommonBlockPool& NMTTools_CommonBlockPool.Assign | ( | const NMTTools_CommonBlockPool & | Other | ) | [private] |
| NMTTools_CommonBlockPool& NMTTools_CommonBlockPool.operator= | ( | const NMTTools_CommonBlockPool & | Other | ) | [private] |
References Assign().
| Standard_EXPORT Standard_Boolean NMTTools_CommonBlockPool.IsInvalidIndex | ( | const Standard_Integer | Index | ) | const [private] |
Standard_Address NMTTools_CommonBlockPool.myStart [private] |
Standard_Integer NMTTools_CommonBlockPool.myLength [private] |
Standard_Integer NMTTools_CommonBlockPool.myFactLength [private] |
Standard_Integer NMTTools_CommonBlockPool.myBlockLength [private] |
Standard_Boolean NMTTools_CommonBlockPool.myIsAllocated [private] |