|
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | Aspect_GenId () |
| | Creates an available set of identifiers with the lower
bound 0 and the upper bound INT_MAX/2.
.
|
| Standard_EXPORT | Aspect_GenId (const Standard_Integer Low, const Standard_Integer Up) |
| | Creates an available set of identifiers with the lower
bound <low> and the upper bound <up>.
Warning: Raises IdentDefinitionError if <up> is less than <low>.
//! Copies the content of <other> into <me>.
.
|
| Standard_EXPORT void | Free () |
| | Frees all identifiers of <me>.
.
|
| Standard_EXPORT void | Free (const Standard_Integer Id) |
| | Frees the identifier <id> of <me>.
.
|
| Standard_EXPORT Standard_Integer | Available () const |
| | Returns the number of available identifiers of <me>.
.
|
| Standard_EXPORT Standard_Integer | Lower () const |
| | Returns the lower bound of <me>.
.
|
| Standard_EXPORT Standard_Integer | Next () |
| | Returns an available identifier of <me>.
Warning: Raises IdentDefinitionError if all identifiers are busy.
.
|
| Standard_EXPORT Standard_Integer | Upper () const |
| | Returns the upper bound of <me>.
.
|
Private Attributes |
| Standard_Integer | MyCount |
| Standard_Integer | MyLength |
| Standard_Integer | MyLowerBound |
| Standard_Integer | MyUpperBound |
| TColStd_ListOfInteger | MyFreeIds |