// 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 _StepBasic_DateTimeSelect_HeaderFile #define _StepBasic_DateTimeSelect_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_StepBasic_Date_HeaderFile #include #endif #ifndef _Handle_StepBasic_LocalTime_HeaderFile #include #endif #ifndef _Handle_StepBasic_DateAndTime_HeaderFile #include #endif class Standard_Transient; class StepBasic_Date; class StepBasic_LocalTime; class StepBasic_DateAndTime; class StepBasic_DateTimeSelect : 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 DateTimeSelect SelectType
Standard_EXPORT StepBasic_DateTimeSelect(); //! Recognizes a DateTimeSelect Kind Entity that is :
//! 1 -> Date
//! 2 -> LocalTime
//! 3 -> DateAndTime
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! returns Value as a Date (Null if another type)
Standard_EXPORT Handle_StepBasic_Date Date() const; //! returns Value as a LocalTime (Null if another type)
Standard_EXPORT Handle_StepBasic_LocalTime LocalTime() const; //! returns Value as a DateAndTime (Null if another type)
Standard_EXPORT Handle_StepBasic_DateAndTime DateAndTime() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif