Open CASCADE Technology
6.5.4
|
This class defines a MarkMap object.
#include <Aspect_MarkMap.hxx>
Public Member Functions | |
Aspect_MarkMap () | |
void | AddEntry (const Aspect_MarkMapEntry &AnEntry) |
Adds an entry in the mark map <me>. Warning: Raises BadAccess if MarkMap size is exceeded. | |
Standard_Integer | AddEntry (const Aspect_MarkerStyle &aStyle) |
Search an identical marker style entry in the mark map <me> and returns the MarkMapEntry Index if exist. Or add a new entry and returns the computed MarkMapEntry index used. | |
Standard_Integer | Size () const |
Returns the Allocated markmap Size | |
Standard_Integer | Index (const Standard_Integer aMarkmapIndex) const |
Returns the MarkMapEntry.Index of the MarkMap at rank <aMarkmapIndex> . | |
void | Dump () const |
Aspect_MarkMapEntry | Entry (const Standard_Integer AnIndex) const |
Returns the Mark map entry with the index <AnIndex>. Warning: Raises BadAccess if the index less than 1 or greater than Size. | |
Protected Attributes | |
Aspect_SequenceOfMarkMapEntry | mydata |
void Aspect_MarkMap::AddEntry | ( | const Aspect_MarkMapEntry & | AnEntry | ) |
void Aspect_MarkMap::Dump | ( | ) | const |
Aspect_MarkMapEntry Aspect_MarkMap::Entry | ( | const Standard_Integer | AnIndex | ) | const |
Standard_Integer Aspect_MarkMap::Index | ( | const Standard_Integer | aMarkmapIndex | ) | const |
Standard_Integer Aspect_MarkMap::Size | ( | ) | const |
Aspect_SequenceOfMarkMapEntry Aspect_MarkMap::mydata [protected] |