Open CASCADE Technology
6.5.4
|
This class defines a typemap entry.
A typemap entry is an association between
a LineStyle object and an index in the typemap.
#include <Aspect_TypeMapEntry.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | Aspect_TypeMapEntry () |
Creates an unallocated typemap entry | |
Aspect_TypeMapEntry (const Standard_Integer index, const Aspect_LineStyle &style) | |
Creates an allocated typemap entry | |
Aspect_TypeMapEntry (const Aspect_TypeMapEntry &entry) | |
Creates an allocated typemap entry. Warning: Raises error if the typemap entry <entry> is unallocated. | |
void | SetValue (const Standard_Integer index, const Aspect_LineStyle &style) |
Sets typemap entry value and allocates it. | |
void | SetValue (const Aspect_TypeMapEntry &entry) |
Sets typemap entry value and allocates it. | |
void | operator= (const Aspect_TypeMapEntry &entry) |
void | SetType (const Aspect_LineStyle &Style) |
Sets the line style of typemap entry. | |
const Aspect_LineStyle & | Type () const |
void | SetIndex (const Standard_Integer index) |
Sets index value of a typemap entry. | |
Standard_Integer | Index () const |
Returns index value of a typemap entry. Warning: Raises error if the typemap entry is unallocated . | |
void | Free () |
Unallocates the typemap entry. | |
Standard_Boolean | IsAllocated () const |
Returns True if the typemap entry is allocated. Warning: A typemap entry is allocated when the type and the index is defined. | |
void | Dump () const |
Aspect_TypeMapEntry::Aspect_TypeMapEntry | ( | const Standard_Integer | index, |
const Aspect_LineStyle & | style | ||
) |
void Aspect_TypeMapEntry::Dump | ( | ) | const |
Standard_Integer Aspect_TypeMapEntry::Index | ( | ) | const |
void Aspect_TypeMapEntry::operator= | ( | const Aspect_TypeMapEntry & | entry | ) | [inline] |
void Aspect_TypeMapEntry::SetType | ( | const Aspect_LineStyle & | Style | ) |
void Aspect_TypeMapEntry::SetValue | ( | const Standard_Integer | index, |
const Aspect_LineStyle & | style | ||
) |
const Aspect_LineStyle& Aspect_TypeMapEntry::Type | ( | ) | const |