Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes
Aspect_MarkMap Class Reference

This class defines a MarkMap object.
More...

#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>. <br>

Warning: Raises BadAccess if MarkMap size is exceeded.
More...

 
Standard_Integer AddEntry (const Aspect_MarkerStyle &aStyle)
 
 Search an identical marker style entry in the mark map <me> <br>

and returns the MarkMapEntry Index if exist.
Or add a new entry and returns the computed MarkMapEntry index used.
More...

 
Standard_Integer Size () const
 Returns the Allocated markmap Size
More...
 
Standard_Integer Index (const Standard_Integer aMarkmapIndex) const
 Returns the MarkMapEntry.Index of the MarkMap
at rank <aMarkmapIndex> .
More...
 
void Dump () const
 
Aspect_MarkMapEntry Entry (const Standard_Integer AnIndex) const
 
Returns the Mark map entry with the index <AnIndex>. <br>

Warning: Raises BadAccess if the index less than 1 or
greater than Size.
More...

 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Protected Attributes

Aspect_SequenceOfMarkMapEntry mydata
 

Detailed Description

This class defines a MarkMap object.

Constructor & Destructor Documentation

Aspect_MarkMap::Aspect_MarkMap ( )

Member Function Documentation

void Aspect_MarkMap::AddEntry ( const Aspect_MarkMapEntry AnEntry)

Adds an entry in the mark map <me>. <br>

Warning: Raises BadAccess if MarkMap size is exceeded.

Standard_Integer Aspect_MarkMap::AddEntry ( const Aspect_MarkerStyle aStyle)

 Search an identical marker style entry in the mark map <me> <br>

and returns the MarkMapEntry Index if exist.
Or add a new entry and returns the computed MarkMapEntry index used.

void Aspect_MarkMap::Dump ( ) const
Aspect_MarkMapEntry Aspect_MarkMap::Entry ( const Standard_Integer  AnIndex) const

Returns the Mark map entry with the index <AnIndex>. <br>

Warning: Raises BadAccess if the index less than 1 or
greater than Size.

Standard_Integer Aspect_MarkMap::Index ( const Standard_Integer  aMarkmapIndex) const

Returns the MarkMapEntry.Index of the MarkMap
at rank <aMarkmapIndex> .

Standard_Integer Aspect_MarkMap::Size ( ) const

Returns the Allocated markmap Size

Field Documentation

Aspect_SequenceOfMarkMapEntry Aspect_MarkMap::mydata
protected

The documentation for this class was generated from the following file: