#include <Interface_EntityList.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Interface_EntityList () |
Creates a List as beeing empty . | |
Standard_EXPORT void | Clear () |
Clears the List . | |
Standard_EXPORT void | Append (const Handle(Standard_Transient)&ent) |
Appends an Entity, that is to the END of the list (keeps order, but works slowerly than Add, see below) . | |
Standard_EXPORT void | Add (const Handle(Standard_Transient)&ent) |
Adds an Entity to the list, that is, with NO REGARD about the order (faster than Append if count becomes greater than 10) . | |
Standard_EXPORT void | Remove (const Handle(Standard_Transient)&ent) |
Removes an Entity from the list, if it is there . | |
Standard_EXPORT void | Remove (const Standard_Integer num) |
Removes an Entity from the list, given its rank . | |
Standard_EXPORT Standard_Boolean | IsEmpty () const |
Returns True if the list is empty . | |
Standard_EXPORT Standard_Integer | NbEntities () const |
Returns count of recorded Entities . | |
Standard_EXPORT const Handle_Standard_Transient & | Value (const Standard_Integer num) const |
Returns an Item given its number. Beware about the way the list was filled (see above, Add and Append) . | |
Standard_EXPORT void | SetValue (const Standard_Integer num, const Handle(Standard_Transient)&ent) |
Returns an Item given its number. Beware about the way the list was filled (see above, Add and Append) . | |
Standard_EXPORT void | FillIterator (Interface_EntityIterator &iter) const |
fills an Iterator with the content of the list (normal way to consult a list which has been filled with Add) | |
Standard_EXPORT Standard_Integer | NbTypedEntities (const Handle(Standard_Type)&atype) const |
Returns count of Entities of a given Type (0 : none) . | |
Standard_EXPORT Handle_Standard_Transient | TypedEntity (const Handle(Standard_Type)&atype, const Standard_Integer num=0) const |
Returns the Entity which is of a given type. If num = 0 (D), there must be ONE AND ONLY ONE If num > 0, returns the num-th entity of this type . | |
Private Attributes | |
Handle_Standard_Transient | theval |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|