Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
StepData_DescrReadWrite Class Reference

#include <StepData_DescrReadWrite.hxx>

Inheritance diagram for StepData_DescrReadWrite:
Inheritance graph
[legend]

Public Member Functions

 StepData_DescrReadWrite (const Handle< StepData_Protocol > &proto)
Standard_Integer CaseStep (const TCollection_AsciiString &atype) const
 Defines Case Numbers corresponding to the recognized Types
Called by CaseNum (data,num) above for a Simple Type Entity
Warning : CaseStep must give the same Value as Protocol does for the
Entity type which corresponds to this Type given as a String

virtual Standard_Integer CaseStep (const TColStd_SequenceOfAsciiString &types) const
 Same a above but for a Complex Type Entity ("Plex")
The provided Default recognizes nothing

virtual Standard_Boolean IsComplex (const Standard_Integer CN) const
 Returns True if the Case Number corresponds to a Complex Type
("Plex"). Remember that all possible combinations must be
aknowledged to be processed
Default is False for all cases. For a Protocol which defines
possible Plexes, this method must be redefined.

const TCollection_AsciiStringStepType (const Standard_Integer CN) const
 Function specific to STEP, which delivers the StepType as it
is recorded in and read from a File compliant with STEP.
This method is symmetric to the method CaseStep.
StepType can be different from Dynamic Type's name, but
belongs to the same class of Object.
Returns an empty String if <CN> is zero.
Warning : For a Complex Type Entity, returns an Empty String
(Complex Type must be managed by users)

virtual Standard_Boolean ComplexType (const Standard_Integer CN, TColStd_SequenceOfAsciiString &types) const
 Function specific to STEP, which delivers the list of types
which corresponds to a complex type. If <CN> is not for a
complex type, this method returns False. Else it returns True
and fills the list in alphabetic order.
The default returns False. To be redefined as required.

void ReadStep (const Standard_Integer CN, const Handle< StepData_StepReaderData > &data, const Standard_Integer num, Handle< Interface_Check > &ach, const Handle< Standard_Transient > &ent) const
 Specific Read Function. Works with StepReaderData

void WriteStep (const Standard_Integer CN, StepData_StepWriter &SW, const Handle< Standard_Transient > &ent) const
 Write Function, switched by CaseNum


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from StepData_ReadWriteModule.

Reimplemented from StepData_ReadWriteModule.

Reimplemented from StepData_ReadWriteModule.


The documentation for this class was generated from the following file: