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

Gives access to Product Definition Context (one per Model)
Maintains ApplicationProtocolDefinition entity (common for all
products)
Also maintains context specific for AP203 and provides set of
methods to work with various STEP constructs as required
by Actor

#include <STEPConstruct_ContextTool.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC STEPConstruct_ContextTool ()
 STEPConstruct_ContextTool (const Handle< StepData_StepModel > &aStepModel)
void SetModel (const Handle< StepData_StepModel > &aStepModel)
 Initialize ApplicationProtocolDefinition by the first
entity of that type found in the model

Handle_StepBasic_ApplicationProtocolDefinition GetAPD ()
void AddAPD (const Standard_Boolean enforce=Standard_False)
Standard_Boolean IsAP203 () const
 Returns True if APD.schema_name is config_control_design

Standard_Boolean IsAP214 () const
 Returns True if APD.schema_name is automotive_design

Handle_TCollection_HAsciiString GetACstatus ()
Handle_TCollection_HAsciiString GetACschemaName ()
Standard_Integer GetACyear ()
Handle_TCollection_HAsciiString GetACname ()
void SetACstatus (const Handle< TCollection_HAsciiString > &status)
void SetACschemaName (const Handle< TCollection_HAsciiString > &schemaName)
void SetACyear (const Standard_Integer year)
void SetACname (const Handle< TCollection_HAsciiString > &name)
Handle_StepGeom_Axis2Placement3d GetDefaultAxis ()
 Returns a default axis placement

STEPConstruct_AP203ContextAP203Context ()
 Returns tool which maintains context specific for AP203

Standard_Integer Level () const
 Returns current assembly level

void NextLevel ()
void PrevLevel ()
void SetLevel (const Standard_Integer lev)
 Changes current assembly level

Standard_Integer Index () const
 Returns current index of assembly component on current level

void NextIndex ()
void PrevIndex ()
void SetIndex (const Standard_Integer ind)
 Changes current index of assembly component on current level

Handle_TCollection_HAsciiString GetProductName () const
 Generates a product name basing on write.step.product.name
parameter and current position in the assembly structure

Handle_TColStd_HSequenceOfTransient GetRootsForPart (const STEPConstruct_Part &SDRTool)
 Produces and returns a full list of root entities required
for part identified by SDRTool (including SDR itself)

Handle_TColStd_HSequenceOfTransient GetRootsForAssemblyLink (const STEPConstruct_Assembly &assembly)
 Produces and returns a full list of root entities required
for assembly link identified by assembly (including NAUO and CDSR)


Constructor & Destructor Documentation


Member Function Documentation

Handle_TCollection_HAsciiString STEPConstruct_ContextTool::GetACname ( )
Handle_TCollection_HAsciiString STEPConstruct_ContextTool::GetACschemaName ( )
Handle_TCollection_HAsciiString STEPConstruct_ContextTool::GetACstatus ( )
Handle_StepBasic_ApplicationProtocolDefinition STEPConstruct_ContextTool::GetAPD ( )
Handle_StepGeom_Axis2Placement3d STEPConstruct_ContextTool::GetDefaultAxis ( )
Handle_TCollection_HAsciiString STEPConstruct_ContextTool::GetProductName ( ) const
Handle_TColStd_HSequenceOfTransient STEPConstruct_ContextTool::GetRootsForAssemblyLink ( const STEPConstruct_Assembly assembly)
Handle_TColStd_HSequenceOfTransient STEPConstruct_ContextTool::GetRootsForPart ( const STEPConstruct_Part SDRTool)

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