|
||||
File indexing completed on 2025-01-18 10:05:13
0001 // Created on: 1994-12-22 0002 // Created by: Christian CAILLET 0003 // Copyright (c) 1994-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _StepSelect_StepType_HeaderFile 0018 #define _StepSelect_StepType_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <StepData_WriterLib.hxx> 0024 #include <IFSelect_Signature.hxx> 0025 #include <Standard_CString.hxx> 0026 class StepData_Protocol; 0027 class Interface_Protocol; 0028 class Standard_Transient; 0029 class Interface_InterfaceModel; 0030 0031 0032 class StepSelect_StepType; 0033 DEFINE_STANDARD_HANDLE(StepSelect_StepType, IFSelect_Signature) 0034 0035 //! StepType is a Signature specific to Step definitions : it 0036 //! considers the type as defined in STEP Schemas, the same which 0037 //! is used in files. 0038 //! For a Complex Type, if its definition is known, StepType 0039 //! produces the list of basic types, separated by commas, the 0040 //! whole between brackets : "(TYPE1,TYPE2..)". 0041 //! If its precise definition is not known (simply it is known as 0042 //! Complex, it can be recognised, but the list is produced at 0043 //! Write time only), StepType produces : "(..COMPLEX TYPE..)" 0044 class StepSelect_StepType : public IFSelect_Signature 0045 { 0046 0047 public: 0048 0049 0050 //! Creates a Signature for Step Type. Protocol is undefined here, 0051 //! hence no Signature may yet be produced. The StepType signature 0052 //! requires a Protocol before working 0053 Standard_EXPORT StepSelect_StepType(); 0054 0055 //! Sets the StepType signature to work with a Protocol : this 0056 //! initialises the library 0057 Standard_EXPORT void SetProtocol (const Handle(Interface_Protocol)& proto); 0058 0059 //! Returns the Step Type defined from the Protocol (see above). 0060 //! If <ent> is not recognised, produces "..NOT FROM SCHEMA <name>.." 0061 Standard_EXPORT Standard_CString Value (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; 0062 0063 0064 0065 0066 DEFINE_STANDARD_RTTIEXT(StepSelect_StepType,IFSelect_Signature) 0067 0068 protected: 0069 0070 0071 StepData_WriterLib thelib; 0072 0073 0074 private: 0075 0076 0077 Handle(StepData_Protocol) theproto; 0078 0079 0080 }; 0081 0082 0083 0084 0085 0086 0087 0088 #endif // _StepSelect_StepType_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |