Aspect_FontMapEntry Class Reference

This class defines a fontmap entry.
A fontmap entry is an association beetwen
a FontStyle object and an index in the fontmap.

#include <Aspect_FontMapEntry.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 Aspect_FontMapEntry ()
 Creates an unallocated fontmap entry

 Aspect_FontMapEntry (const Standard_Integer index, const Aspect_FontStyle &style)
 Creates an allocated fontmap entry

 Aspect_FontMapEntry (const Aspect_FontMapEntry &entry)
 Creates an allocated fontmap entry.
Warning: Raises error if the fontmap entry <entry> is unallocated.

void SetValue (const Standard_Integer index, const Aspect_FontStyle &style)
 Sets fontmap entry value and allocates it.

void SetValue (const Aspect_FontMapEntry &entry)
 Sets fontmap entry value and allocates it.

void operator= (const Aspect_FontMapEntry &entry)
void SetType (const Aspect_FontStyle &Style)
 Sets the line style of fontmap entry.

const Aspect_FontStyleType () const
void SetIndex (const Standard_Integer index)
 Sets index value of a fontmap entry.

Standard_Integer Index () const
void Free ()
 Unallocates the fontmap entry.

Standard_Boolean IsAllocated () const
 Returns True if the fontmap entry is allocated.
Warning: A fontmap entry is allocated when the font and
the index is defined.

void Dump () const

Constructor & Destructor Documentation

Aspect_FontMapEntry::Aspect_FontMapEntry (  ) 
Aspect_FontMapEntry::Aspect_FontMapEntry ( const Standard_Integer  index,
const Aspect_FontStyle style 
)
Aspect_FontMapEntry::Aspect_FontMapEntry ( const Aspect_FontMapEntry entry  ) 

Member Function Documentation

void Aspect_FontMapEntry::Dump (  )  const
void Aspect_FontMapEntry::Free (  ) 
Standard_Integer Aspect_FontMapEntry::Index (  )  const
Standard_Boolean Aspect_FontMapEntry::IsAllocated (  )  const
void Aspect_FontMapEntry::operator delete ( void *  anAddress  )  [inline]
void* Aspect_FontMapEntry::operator new ( size_t  size  )  [inline]
void* Aspect_FontMapEntry::operator new ( size_t  ,
void *  anAddress 
) [inline]
void Aspect_FontMapEntry::operator= ( const Aspect_FontMapEntry entry  )  [inline]
void Aspect_FontMapEntry::SetIndex ( const Standard_Integer  index  ) 
void Aspect_FontMapEntry::SetType ( const Aspect_FontStyle Style  ) 
void Aspect_FontMapEntry::SetValue ( const Aspect_FontMapEntry entry  ) 
void Aspect_FontMapEntry::SetValue ( const Standard_Integer  index,
const Aspect_FontStyle style 
)
const Aspect_FontStyle& Aspect_FontMapEntry::Type (  )  const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:51:19 2011 for Open CASCADE Technology by  doxygen 1.6.3