Open CASCADE Technology
6.5.4
|
This class defines a TypeMap object.
#include <Aspect_TypeMap.hxx>
Public Member Functions | |
Aspect_TypeMap () | |
void | AddEntry (const Aspect_TypeMapEntry &AnEntry) |
Adds an entry in the type map <me>. Warning: Raises BadAccess if TypeMap size is exceeded. | |
Standard_Integer | AddEntry (const Aspect_LineStyle &aStyle) |
Search an identical type style entry in the type map <me> and returns the TypeMapEntry Index if exist. Or add a new entry and returns the computed TypeMapEntry index used. | |
Standard_Integer | Size () const |
Returns the Allocated typemap Size | |
Standard_Integer | Index (const Standard_Integer aTypemapIndex) const |
Returns the TypeMapEntry.Index of the TypeMap at rank <aTypemapIndex> . | |
void | Dump () const |
const Aspect_TypeMapEntry & | Entry (const Standard_Integer AnIndex) const |
Returns the Type map entry with the index <AnIndex>. Warning: Raises BadAccess if the index less than 1 or greater than Size. | |
Protected Attributes | |
Aspect_SequenceOfTypeMapEntry | mydata |
void Aspect_TypeMap::AddEntry | ( | const Aspect_TypeMapEntry & | AnEntry | ) |
void Aspect_TypeMap::Dump | ( | ) | const |
const Aspect_TypeMapEntry& Aspect_TypeMap::Entry | ( | const Standard_Integer | AnIndex | ) | const |
Standard_Integer Aspect_TypeMap::Index | ( | const Standard_Integer | aTypemapIndex | ) | const |
Standard_Integer Aspect_TypeMap::Size | ( | ) | const |
Aspect_SequenceOfTypeMapEntry Aspect_TypeMap::mydata [protected] |