// 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 _Dynamic_FuzzyClass_HeaderFile #define _Dynamic_FuzzyClass_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Dynamic_FuzzyClass_HeaderFile #include #endif #ifndef _Handle_Dynamic_ParameterNode_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_Dynamic_Parameter_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Dynamic_ParameterNode; class TCollection_AsciiString; class Dynamic_Parameter; class Standard_Transient; //! This class is the root class to dynamically define
//! objects of a given type but with various
//! definitions. This root class contains a parameter
//! list which describes in the definition context all
//! the useful information and in the instance context
//! only the redefined values. This class is deferred
//! because no instance has to be created.
class Dynamic_FuzzyClass : public MMgt_TShared { public: //! This deferred method must returns the type of the
//! object. If the instance is of the type FuzzyDefinition
//! the method simply returns the field . If the
//! instance is of the type FuzzyInstance the method calls
//! the Type method on the true definition.
Standard_EXPORT virtual TCollection_AsciiString Type() const = 0; //! Returns the head of the list of parameters. For the
//! FuzzyDefinition class this method returns the head of
//! the exaustive list of parameters defining the object
//! and for the FuzzyInstance it just returns the head of
//! the overloaded values.
Standard_EXPORT Handle_Dynamic_ParameterNode FirstParameter() const; //! Returns true if there is a parameter with
//! as name, false otherwise.
Standard_EXPORT Standard_Boolean Parameter(const Standard_CString aparameter) const; //! Adds another parameter to the sequence of
//! parameters.
Standard_EXPORT void Parameter(const Handle(Dynamic_Parameter)& aparameter) ; //! Adds to the instance the parameter
//! with the boolean value .
Standard_EXPORT virtual void Parameter(const Standard_CString aparameter,const Standard_Boolean avalue) ; //! Adds to the instance the parameter
//! with the integer value .
Standard_EXPORT virtual void Parameter(const Standard_CString aparameter,const Standard_Integer avalue) ; //! Adds to the instance the parameter
//! with the real value .
Standard_EXPORT virtual void Parameter(const Standard_CString aparameter,const Standard_Real avalue) ; //! Adds to the instance the parameter
//! with the string .
Standard_EXPORT virtual void Parameter(const Standard_CString aparameter,const Standard_CString astring) ; //! Adds to the instance the parameter
//! with the object value .
Standard_EXPORT virtual void Parameter(const Standard_CString aparameter,const Handle(Standard_Transient)& anobject) ; //! Returns True, if there is a parameter
//! previously stored in the instance and there is
//! the corresponding boolean value in the output argument
//! , False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const Standard_CString aparameter,Standard_Boolean& avalue) const; //! Returns True, if there is a parameter
//! previously stored in the instance and there is
//! the corresponding integer value in the output argument
//! , False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const Standard_CString aparameter,Standard_Integer& avalue) const; //! Returns True, if there is a parameter
//! previously stored in the instance and there is
//! the corresponding real value in the output argument
//! , False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const Standard_CString aparameter,Standard_Real& avalue) const; //! Returns True, if there is a parameter
//! previously stored in the instance and there is
//! the corresponding string in the output argument
//! , False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const Standard_CString aparameter,TCollection_AsciiString& avalue) const; //! Returns True, if there is a parameter
//! previously stored in the instance and there is
//! the corresponding object value in the output argument
//! , False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const Standard_CString aparameter,Handle(Standard_Transient)& avalue) const; //! Useful for debugging.
Standard_EXPORT virtual void Dump(Standard_OStream& astream) const; DEFINE_STANDARD_RTTI(Dynamic_FuzzyClass) protected: //! Creates a FuzzyClass.
Standard_EXPORT Dynamic_FuzzyClass(); private: Handle_Dynamic_ParameterNode thefirstparameternode; }; // other Inline functions and methods (like "C++: function call" methods) #endif