// 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 _Xw_TypeMap_HeaderFile #define _Xw_TypeMap_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Xw_TypeMap_HeaderFile #include #endif #ifndef _Standard_Address_HeaderFile #include #endif #ifndef _Standard_Transient_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_Aspect_TypeMap_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Aspect_TypeMapDefinitionError; class Aspect_BadAccess; class Xw_GraphicDevice; class Aspect_TypeMapEntry; class Aspect_TypeMap; //! This class defines a TypeMap object.
class Xw_TypeMap : public Standard_Transient { public: //! Creates a TypeMap with unallocated TypeMapEntry.
//! Warning: Raises if TypeMap creation failed according
//! to the supported hardware
Standard_EXPORT Xw_TypeMap(const Standard_CString Connexion); //! Modifies an entry already defined or Add the Entry
//! in the type map if it don't exist.
//! Warning: Raises if TypeMap size is exceeded,
//! or TypeMap is not defined properly,
//! or TypeMapEntry Index is out of range according
//! to the supported hardware
Standard_EXPORT virtual void SetEntry(const Aspect_TypeMapEntry& Entry) ; //! Modifies all entries from a new Typemap
//! Warning: Raises if TypeMap size is exceeded,
//! or TypeMap is not defined properly,
//! or One of new TypeMapEntry Index is out of range according
//! to the supported hardware
Standard_EXPORT virtual void SetEntries(const Handle(Aspect_TypeMap)& Typemap) ; //! Destroies the Typemap
Standard_EXPORT virtual void Destroy() ; ~Xw_TypeMap() { Destroy(); } //! Returns the Number of Free Types in the Typemap
//! depending of the HardWare
//! Warning: Raises if TypeMap is not defined properly
Standard_EXPORT Standard_Integer FreeTypes() const; friend class Xw_GraphicDevice; DEFINE_STANDARD_RTTI(Xw_TypeMap) protected: Standard_EXPORT Xw_TypeMap(); //! Returns extended data typemap structure pointer.
Standard_EXPORT Standard_Address ExtendedTypeMap() const; private: Standard_Address MyExtendedDisplay; Standard_Address MyExtendedTypeMap; }; // other Inline functions and methods (like "C++: function call" methods) #endif