// 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 _TPrsStd_Driver_HeaderFile #define _TPrsStd_Driver_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_TPrsStd_Driver_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_AIS_InteractiveObject_HeaderFile #include #endif class TDF_Label; class AIS_InteractiveObject; //! Driver for AIS
//! ==============
//! An abstract class, which - in classes inheriting
//! from it - allows you to update an
//! AIS_InteractiveObject or create one if one does
//! not already exist.
//! For both creation and update, the interactive
//! object is filled with information contained in
//! attributes. These attributes are those found on
//! the label given as an argument in the method Update.
//! true is returned if the interactive object was modified by the update.
//! This class provide an algorithm to Build with its default
//! values (if Null) or Update (if !Null) an AIS_InteractiveObject
//! . Resources are found in attributes associated to a given
//! label.
class TPrsStd_Driver : public MMgt_TShared { public: //! Updates the interactive object ais with
//! information found on the attributes associated with the label L.
Standard_EXPORT virtual Standard_Boolean Update(const TDF_Label& L,Handle(AIS_InteractiveObject)& ais) = 0; DEFINE_STANDARD_RTTI(TPrsStd_Driver) protected: Standard_EXPORT TPrsStd_Driver(); private: }; // other Inline functions and methods (like "C++: function call" methods) #endif