|
Open CASCADE Technology 6.5.2
|
This class permits the creation and control of all
identifiers.
Warning: An identifier is an integer.
#include <Aspect_GenId.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Aspect_GenId () | |
| Creates an available set of identifiers with the lower bound 0 and the upper bound INT_MAX/2. | |
| 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>. | |
| void | Free () |
| Frees all identifiers of <me>. | |
| void | Free (const Standard_Integer Id) |
| Frees the identifier <Id> of <me>. | |
| Standard_Integer | Available () const |
| Returns the number of available identifiers of <me>. | |
| Standard_Integer | Lower () const |
| Returns the lower bound of <me>. | |
| Standard_Integer | Next () |
| Returns an available identifier of <me>. Warning: Raises IdentDefinitionError if all identifiers are busy. | |
| Standard_Integer | Upper () const |
| Returns the upper bound of <me>. | |
| Aspect_GenId::Aspect_GenId | ( | ) |
| Aspect_GenId::Aspect_GenId | ( | const Standard_Integer | Low, |
| const Standard_Integer | Up | ||
| ) |
| Standard_Integer Aspect_GenId::Available | ( | ) | const |
| void Aspect_GenId::Free | ( | const Standard_Integer | Id | ) |
| void Aspect_GenId::Free | ( | ) |
| Standard_Integer Aspect_GenId::Lower | ( | ) | const |
| Standard_Integer Aspect_GenId::Next | ( | ) |
| void Aspect_GenId::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Aspect_GenId::operator new | ( | size_t | size | ) | [inline] |
| void* Aspect_GenId::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| Standard_Integer Aspect_GenId::Upper | ( | ) | const |
1.7.4