// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Aspect_FontMap_HeaderFile #define _Aspect_FontMap_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Aspect_FontMap_HeaderFile #include #endif #ifndef _Aspect_SequenceOfFontMapEntry_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Aspect_BadAccess; class Aspect_FontMapEntry; class Aspect_FontStyle; //! This class defines a FontMap object.
class Aspect_FontMap : public MMgt_TShared { public: Standard_EXPORT Aspect_FontMap(); //! Adds an entry in the font map .
//! Warning: Raises BadAccess if FontMap size is exceeded.
Standard_EXPORT void AddEntry(const Aspect_FontMapEntry& AnEntry) ; //! Search an identical font style entry in the font map
//! and returns the FontMapEntry Index if exist.
//! Or add a new entry and returns the computed FontMapEntry index used.
Standard_EXPORT Standard_Integer AddEntry(const Aspect_FontStyle& aStyle) ; //! Returns the Allocated fontmap Size
Standard_EXPORT Standard_Integer Size() const; //! Returns the FontMapEntry.Index of the FontMap
//! at rank .
Standard_EXPORT Standard_Integer Index(const Standard_Integer aFontmapIndex) const; Standard_EXPORT void Dump() const; //! Returns the Font map entry with the index .
//! Warning: Raises BadAccess if the index less than 1
//! or greater than Size.
Standard_EXPORT Aspect_FontMapEntry Entry(const Standard_Integer AnIndex) const; DEFINE_STANDARD_RTTI(Aspect_FontMap) protected: Aspect_SequenceOfFontMapEntry mydata; private: }; // other Inline functions and methods (like "C++: function call" methods) #endif