Open CASCADE Technology 6.6.0
Public Member Functions
RWStepAP214_GeneralModule Class Reference

Defines General Services for StepAP214 Entities
(Share,Check,Copy; Trace already inherited)
Depends (for case numbers) of Protocol from StepAP214

#include <RWStepAP214_GeneralModule.hxx>

Inheritance diagram for RWStepAP214_GeneralModule:
Inheritance graph
[legend]

Public Member Functions

 RWStepAP214_GeneralModule ()
 Creates a GeneralModule

void FillSharedCase (const Standard_Integer CN, const Handle< Standard_Transient > &ent, Interface_EntityIterator &iter) const
 Specific filling of the list of Entities shared by an Entity
<ent>, according to a Case Number <CN> (provided by StepAP214
Protocol).

void CheckCase (const Standard_Integer CN, const Handle< Standard_Transient > &ent, const Interface_ShareTool &shares, Handle< Interface_Check > &ach) const
 Specific Checking of an Entity <ent>

void CopyCase (const Standard_Integer CN, const Handle< Standard_Transient > &entfrom, const Handle< Standard_Transient > &entto, Interface_CopyTool &TC) const
 Specific Copy ("Deep") from <entfrom> to <entto> (same type)
by using a CopyTool which provides its working Map.
Use method Transferred from CopyTool to work

Standard_Boolean NewVoid (const Standard_Integer CN, Handle< Standard_Transient > &ent) const
 Creates a new void entity <entto> according to a Case Number
This entity remains to be filled, by reading from a file or
by copying from another entity of same type (see CopyCase)

virtual Standard_Integer CategoryNumber (const Standard_Integer CN, const Handle< Standard_Transient > &ent, const Interface_ShareTool &shares) const
 Returns a category number which characterizes an entity
Category Numbers are managed by the class Category
<shares> can be used to evaluate this number in the context
Default returns 0 which means "unspecified"

virtual
Handle_TCollection_HAsciiString 
Name (const Standard_Integer CN, const Handle< Standard_Transient > &ent, const Interface_ShareTool &shares) const
 Returns the name of a STEP Entity according to its type


Constructor & Destructor Documentation

RWStepAP214_GeneralModule::RWStepAP214_GeneralModule ( )

Member Function Documentation

virtual Standard_Integer RWStepAP214_GeneralModule::CategoryNumber ( const Standard_Integer  CN,
const Handle< Standard_Transient > &  ent,
const Interface_ShareTool shares 
) const [virtual]

Reimplemented from Interface_GeneralModule.

void RWStepAP214_GeneralModule::CheckCase ( const Standard_Integer  CN,
const Handle< Standard_Transient > &  ent,
const Interface_ShareTool shares,
Handle< Interface_Check > &  ach 
) const [virtual]
void RWStepAP214_GeneralModule::CopyCase ( const Standard_Integer  CN,
const Handle< Standard_Transient > &  entfrom,
const Handle< Standard_Transient > &  entto,
Interface_CopyTool TC 
) const [virtual]
void RWStepAP214_GeneralModule::FillSharedCase ( const Standard_Integer  CN,
const Handle< Standard_Transient > &  ent,
Interface_EntityIterator iter 
) const [virtual]
virtual Handle_TCollection_HAsciiString RWStepAP214_GeneralModule::Name ( const Standard_Integer  CN,
const Handle< Standard_Transient > &  ent,
const Interface_ShareTool shares 
) const [virtual]

Reimplemented from Interface_GeneralModule.

Standard_Boolean RWStepAP214_GeneralModule::NewVoid ( const Standard_Integer  CN,
Handle< Standard_Transient > &  entto 
) const [virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines