Open CASCADE Technology 6.6.0
Public Member Functions | Protected Attributes
Aspect_MarkMap Class Reference

This class defines a MarkMap object.

#include <Aspect_MarkMap.hxx>

Inheritance diagram for Aspect_MarkMap:
Inheritance graph
[legend]

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

Constructor & Destructor Documentation

Aspect_MarkMap::Aspect_MarkMap ( )

Member Function Documentation

void Aspect_MarkMap::AddEntry ( const Aspect_MarkMapEntry AnEntry)
Standard_Integer Aspect_MarkMap::AddEntry ( const Aspect_MarkerStyle aStyle)
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

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines