mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026595: Lost some comments in OCCT-code after cdl elimination
Recovered comments for instance classes from CDL generic classes.
This commit is contained in:
@@ -39,28 +39,56 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Adds a couple (Module-Protocol) into the global definition set
|
||||
//! for this class of Library.
|
||||
Standard_EXPORT static void SetGlobal (const Handle(StepData_ReadWriteModule)& amodule, const Handle(StepData_Protocol)& aprotocol);
|
||||
|
||||
//! Creates a Library which complies with a Protocol, that is :
|
||||
//! Same class (criterium IsInstance)
|
||||
//! This creation gets the Modules from the global set, those
|
||||
//! which are bound to the given Protocol and its Resources
|
||||
Standard_EXPORT StepData_WriterLib(const Handle(StepData_Protocol)& aprotocol);
|
||||
|
||||
//! Creates an empty Library : it will later by filled by method
|
||||
//! AddProtocol
|
||||
Standard_EXPORT StepData_WriterLib();
|
||||
|
||||
//! Adds a couple (Module-Protocol) to the Library, given the
|
||||
//! class of a Protocol. Takes Resources into account.
|
||||
//! (if <aprotocol> is not of type TheProtocol, it is not added)
|
||||
Standard_EXPORT void AddProtocol (const Handle(Standard_Transient)& aprotocol);
|
||||
|
||||
//! Clears the list of Modules of a library (can be used to
|
||||
//! redefine the order of Modules before action : Clear then
|
||||
//! refill the Library by calls to AddProtocol)
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
//! Sets a library to be defined with the complete Global list
|
||||
//! (all the couples Protocol/Modules recorded in it)
|
||||
Standard_EXPORT void SetComplete();
|
||||
|
||||
//! Selects a Module from the Library, given an Object.
|
||||
//! Returns True if Select has succeeded, False else.
|
||||
//! Also Returns (as arguments) the selected Module and the Case
|
||||
//! Number determined by the associated Protocol.
|
||||
//! If Select has failed, <module> is Null Handle and CN is zero.
|
||||
//! (Select can work on any criterium, such as Object DynamicType)
|
||||
Standard_EXPORT Standard_Boolean Select (const Handle(Standard_Transient)& obj, Handle(StepData_ReadWriteModule)& module, Standard_Integer& CN) const;
|
||||
|
||||
//! Starts Iteration on the Modules (sets it on the first one)
|
||||
Standard_EXPORT void Start();
|
||||
|
||||
//! Returns True if there are more Modules to iterate on
|
||||
Standard_EXPORT Standard_Boolean More() const;
|
||||
|
||||
//! Iterates by getting the next Module in the list
|
||||
//! If there is none, the exception will be raised by Value
|
||||
Standard_EXPORT void Next();
|
||||
|
||||
//! Returns the current Module in the Iteration
|
||||
Standard_EXPORT const Handle(StepData_ReadWriteModule)& Module() const;
|
||||
|
||||
//! Returns the current Protocol in the Iteration
|
||||
Standard_EXPORT const Handle(StepData_Protocol)& Protocol() const;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user