Open CASCADE Technology
6.5.4
|
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
#include <IGESData_FileProtocol.hxx>
Public Member Functions | |
IGESData_FileProtocol () | |
Returns an empty FileProtocol | |
void | Add (const Handle< IGESData_Protocol > &protocol) |
Adds a resource | |
virtual Standard_Integer | NbResources () const |
Gives the count of Resources : the count of Added Protocols | |
virtual Handle_Interface_Protocol | Resource (const Standard_Integer num) const |
Returns a Resource, given a rank (rank of call to Add) |
void IGESData_FileProtocol::Add | ( | const Handle< IGESData_Protocol > & | protocol | ) |
virtual Standard_Integer IGESData_FileProtocol::NbResources | ( | ) | const [virtual] |
Reimplemented from IGESData_Protocol.
virtual Handle_Interface_Protocol IGESData_FileProtocol::Resource | ( | const Standard_Integer | num | ) | const [virtual] |
Reimplemented from IGESData_Protocol.