Open CASCADE Technology
6.5.4
|
StepType is a Signature specific to Step definitions : it
considers the type as defined in STEP Schemas, the same which
is used in files.
For a Complex Type, if its definition is known, StepType
produces the list of basic types, separated by commas, the
whole between brackets : "(TYPE1,TYPE2..)".
If its precise definition is not known (simply it is known as
Complex, it can be recognised, but the list is produced at
Write time only), StepType produces : "(..COMPLEX TYPE..)"
#include <StepSelect_StepType.hxx>
Public Member Functions | |
StepSelect_StepType () | |
Creates a Signature for Step Type. Protocol is undefined here, hence no Signature may yet be produced. The StepType signature requires a Protocol before working | |
void | SetProtocol (const Handle< Interface_Protocol > &proto) |
Sets the StepType signature to work with a Protocol : this initialises the library | |
Standard_CString | Value (const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Returns the Step Type defined from the Protocol (see above). If <ent> is not recognised, produces "..NOT FROM SCHEMA <name>.." | |
Protected Attributes | |
StepData_WriterLib | thelib |
void StepSelect_StepType::SetProtocol | ( | const Handle< Interface_Protocol > & | proto | ) |
Standard_CString StepSelect_StepType::Value | ( | const Handle< Standard_Transient > & | ent, |
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements Interface_SignType.
StepData_WriterLib StepSelect_StepType::thelib [protected] |