|
||||
File indexing completed on 2025-01-18 10:03:27
0001 // Copyright (c) 1999-2020 OPEN CASCADE SAS 0002 // 0003 // This file is part of Open CASCADE Technology software library. 0004 // 0005 // This library is free software; you can redistribute it and/or modify it under 0006 // the terms of the GNU Lesser General Public License version 2.1 as published 0007 // by the Free Software Foundation, with special exception defined in the file 0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0009 // distribution for complete text of the license and disclaimer of any warranty. 0010 // 0011 // Alternatively, this file may be used under the terms of Open CASCADE 0012 // commercial license or contractual agreement. 0013 0014 #ifndef _Express_HeaderFile 0015 #define _Express_HeaderFile 0016 0017 #include <Standard_Boolean.hxx> 0018 #include <Standard_Type.hxx> 0019 #include <Standard_OStream.hxx> 0020 0021 class Express_Schema; 0022 class TCollection_AsciiString; 0023 0024 //! Provides data structures for representation of EXPRESS schema 0025 //! (items, types, entities etc.) 0026 //! and tools for generating XSTEP classes (HXX and CXX) from 0027 //! items of the schema 0028 class Express 0029 { 0030 public: 0031 0032 DEFINE_STANDARD_ALLOC 0033 0034 //! Returns (modifiable) handle to static schema object 0035 Standard_EXPORT static Handle(Express_Schema)& Schema(); 0036 0037 //! Writes standard copyright stamp (creation date/time, user, etc.) 0038 Standard_EXPORT static void WriteFileStamp (Standard_OStream& theOS); 0039 0040 //! Writes standard comment for method in CXX file 0041 Standard_EXPORT static void WriteMethodStamp (Standard_OStream& theOS, const TCollection_AsciiString& theName); 0042 0043 //! Converts item name from CASCADE to STEP style 0044 //! e.g. BoundedCurve -> bounded_curve 0045 Standard_EXPORT static TCollection_AsciiString ToStepName (const TCollection_AsciiString& theName); 0046 0047 //! Converts item name from CASCADE to STEP style 0048 //! e.g. BoundedCurve -> bounded_curve 0049 Standard_EXPORT static TCollection_AsciiString EnumPrefix (const TCollection_AsciiString& theName); 0050 }; 0051 0052 #endif // _Express_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |