// 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 _StepVisual_TextOrCharacter_HeaderFile #define _StepVisual_TextOrCharacter_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _StepData_SelectType_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Handle_StepVisual_AnnotationText_HeaderFile #include #endif #ifndef _Handle_StepVisual_CompositeText_HeaderFile #include #endif #ifndef _Handle_StepVisual_TextLiteral_HeaderFile #include #endif class Standard_Transient; class StepVisual_AnnotationText; class StepVisual_CompositeText; class StepVisual_TextLiteral; class StepVisual_TextOrCharacter : public StepData_SelectType { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Returns a TextOrCharacter SelectType
Standard_EXPORT StepVisual_TextOrCharacter(); //! Recognizes a TextOrCharacter Kind Entity that is :
//! 1 -> AnnotationText
//! 2 -> CompositeText
//! 3 -> TextLiteral
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! returns Value as a AnnotationText (Null if another type)
Standard_EXPORT Handle_StepVisual_AnnotationText AnnotationText() const; //! returns Value as a CompositeText (Null if another type)
Standard_EXPORT Handle_StepVisual_CompositeText CompositeText() const; //! returns Value as a TextLiteral (Null if another type)
Standard_EXPORT Handle_StepVisual_TextLiteral TextLiteral() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif