// 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 _Interface_HGraph_HeaderFile #define _Interface_HGraph_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Interface_HGraph_HeaderFile #include #endif #ifndef _Interface_Graph_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_Interface_InterfaceModel_HeaderFile #include #endif #ifndef _Handle_Interface_Protocol_HeaderFile #include #endif #ifndef _Handle_Interface_GTool_HeaderFile #include #endif class Standard_DomainError; class Interface_Graph; class Interface_InterfaceModel; class Interface_GeneralLib; class Interface_Protocol; class Interface_GTool; //! This class allows to store a redefinable Graph, via a Handle
//! (usefull for an Object which can work on several successive
//! Models, with the same general conditions)
class Interface_HGraph : public MMgt_TShared { public: //! Creates an HGraph directly from a Graph.
//! Remark that the starting Graph is duplicated
Standard_EXPORT Interface_HGraph(const Interface_Graph& agraph); //! Creates an HGraph with a Graph created from and
Standard_EXPORT Interface_HGraph(const Handle(Interface_InterfaceModel)& amodel,const Interface_GeneralLib& lib); //! Creates an HGraph with a graph itself created from
//! and
Standard_EXPORT Interface_HGraph(const Handle(Interface_InterfaceModel)& amodel,const Handle(Interface_Protocol)& protocol); //! Creates an HGraph with a graph itself created from
//! and
Standard_EXPORT Interface_HGraph(const Handle(Interface_InterfaceModel)& amodel,const Handle(Interface_GTool)& gtool); //! Same a above, but works with the GTool in the model
Standard_EXPORT Interface_HGraph(const Handle(Interface_InterfaceModel)& amodel); //! Returns the Graph contained in , for Read Only Operations
//! Remark that it is returns as "const &"
//! Getting it in a new variable instead of a reference would be
//! a pitty, because all the graph's content would be duplicated
Standard_EXPORT const Interface_Graph& Graph() const; //! Same as above, but for Read-Write Operations
//! Then, The Graph will be modified in the HGraph itself
Standard_EXPORT Interface_Graph& CGraph() ; DEFINE_STANDARD_RTTI(Interface_HGraph) protected: private: Interface_Graph thegraph; }; // other Inline functions and methods (like "C++: function call" methods) #endif