Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Aspect_TypeMapEntry Class Reference

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_LineStyleType () 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

Constructor & Destructor Documentation


Member Function Documentation

void Aspect_TypeMapEntry::operator= ( const Aspect_TypeMapEntry entry) [inline]

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