// 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 _IGESData_FileProtocol_HeaderFile #define _IGESData_FileProtocol_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESData_FileProtocol_HeaderFile #include #endif #ifndef _Handle_IGESData_Protocol_HeaderFile #include #endif #ifndef _Handle_IGESData_FileProtocol_HeaderFile #include #endif #ifndef _IGESData_Protocol_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Interface_Protocol_HeaderFile #include #endif class IGESData_Protocol; class Interface_Protocol; //! This class allows to define complex protocols, in order to
//! treat various sub-sets (or the complete set) of the IGES Norm,
//! such as Solid + Draw (which are normally independant), etc...
//! While it inherits Protocol from IGESData, it admits
//! UndefinedEntity too
class IGESData_FileProtocol : public IGESData_Protocol { public: //! Returns an empty FileProtocol
Standard_EXPORT IGESData_FileProtocol(); //! Adds a resource
Standard_EXPORT void Add(const Handle(IGESData_Protocol)& protocol) ; //! Gives the count of Resources : the count of Added Protocols
Standard_EXPORT virtual Standard_Integer NbResources() const; //! Returns a Resource, given a rank (rank of call to Add)
Standard_EXPORT virtual Handle_Interface_Protocol Resource(const Standard_Integer num) const; DEFINE_STANDARD_RTTI(IGESData_FileProtocol) protected: private: Handle_IGESData_Protocol theresource; Handle_IGESData_FileProtocol thenext; }; // other Inline functions and methods (like "C++: function call" methods) #endif