Open CASCADE Technology 6.6.0
|
General module to read and write StepAP214 entities
#include <RWStepAP214_ReadWriteModule.hxx>
Public Member Functions | |
RWStepAP214_ReadWriteModule () | |
Standard_Integer | CaseStep (const TCollection_AsciiString &atype) const |
associates a positive Case Number to each type of StepAP214 entity, given as a String defined in the EXPRESS form | |
virtual Standard_Integer | CaseStep (const TColStd_SequenceOfAsciiString &types) const |
associates a positive Case Number to each type of StepAP214 Complex entity, given as a String defined in the EXPRESS form | |
virtual Standard_Boolean | IsComplex (const Standard_Integer CN) const |
returns True if the Case Number corresponds to a Complex Type | |
const TCollection_AsciiString & | StepType (const Standard_Integer CN) const |
returns a StepType (defined in EXPRESS form which belongs to a Type of Entity, identified by its CaseNumber determined by Protocol | |
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 |
RWStepAP214_ReadWriteModule::RWStepAP214_ReadWriteModule | ( | ) |
Standard_Integer RWStepAP214_ReadWriteModule::CaseStep | ( | const TCollection_AsciiString & | atype | ) | const [virtual] |
Implements StepData_ReadWriteModule.
virtual Standard_Integer RWStepAP214_ReadWriteModule::CaseStep | ( | const TColStd_SequenceOfAsciiString & | types | ) | const [virtual] |
Reimplemented from StepData_ReadWriteModule.
virtual Standard_Boolean RWStepAP214_ReadWriteModule::ComplexType | ( | const Standard_Integer | CN, |
TColStd_SequenceOfAsciiString & | types | ||
) | const [virtual] |
Reimplemented from StepData_ReadWriteModule.
virtual Standard_Boolean RWStepAP214_ReadWriteModule::IsComplex | ( | const Standard_Integer | CN | ) | const [virtual] |
Reimplemented from StepData_ReadWriteModule.
void RWStepAP214_ReadWriteModule::ReadStep | ( | const Standard_Integer | CN, |
const Handle< StepData_StepReaderData > & | data, | ||
const Standard_Integer | num, | ||
Handle< Interface_Check > & | ach, | ||
const Handle< Standard_Transient > & | ent | ||
) | const [virtual] |
Implements StepData_ReadWriteModule.
const TCollection_AsciiString& RWStepAP214_ReadWriteModule::StepType | ( | const Standard_Integer | CN | ) | const [virtual] |
Implements StepData_ReadWriteModule.
void RWStepAP214_ReadWriteModule::WriteStep | ( | const Standard_Integer | CN, |
StepData_StepWriter & | SW, | ||
const Handle< Standard_Transient > & | ent | ||
) | const [virtual] |
Implements StepData_ReadWriteModule.