1 // File : SALOMEDS_TextHighlightColorAttribute.hxx
2 // Created : Wed Jul 10 16:42:47 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _SALOMEDS_TextHighlightColorAttribute_HeaderFile
11 #define _SALOMEDS_TextHighlightColorAttribute_HeaderFile
13 #ifndef _Standard_HeaderFile
14 #include <Standard.hxx>
16 #ifndef _Handle_SALOMEDS_TextHighlightColorAttribute_HeaderFile
17 #include <Handle_SALOMEDS_TextHighlightColorAttribute.hxx>
20 #ifndef _TDataStd_RealArray_HeaderFile
21 #include <TDataStd_RealArray.hxx>
23 #ifndef _Handle_TDF_Attribute_HeaderFile
24 #include <Handle_TDF_Attribute.hxx>
26 #ifndef _Handle_TDF_RelocationTable_HeaderFile
27 #include <Handle_TDF_RelocationTable.hxx>
31 class TDF_RelocationTable;
34 class SALOMEDS_TextHighlightColorAttribute : public TDataStd_RealArray {
38 inline void* operator new(size_t,void* anAddress)
42 inline void* operator new(size_t size)
44 return Standard::Allocate(size);
46 inline void operator delete(void *anAddress)
48 if (anAddress) Standard::Free((Standard_Address&)anAddress);
50 // inline void operator delete(void *anAddress, size_t size)
52 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
56 Standard_EXPORT static const Standard_GUID& GetID() ;
57 Standard_EXPORT SALOMEDS_TextHighlightColorAttribute();
58 Standard_EXPORT const Standard_GUID& ID() const;
59 Standard_EXPORT void Restore(const Handle(TDF_Attribute)& with) ;
60 Standard_EXPORT Handle_TDF_Attribute NewEmpty() const;
61 Standard_EXPORT void Paste(const Handle(TDF_Attribute)& into,const Handle(TDF_RelocationTable)& RT) const;
62 Standard_EXPORT ~SALOMEDS_TextHighlightColorAttribute();
69 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_TextHighlightColorAttribute_Type_();
70 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
71 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
99 // other inline functions and methods (like "C++: function call" methods)