|
||||
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_Enum_HeaderFile 0015 #define _Express_Enum_HeaderFile 0016 0017 #include <Express_Item.hxx> 0018 #include <Standard_Type.hxx> 0019 #include <TColStd_HSequenceOfHAsciiString.hxx> 0020 0021 //! Implements TYPE ENUMERATION item of the EXPRESS 0022 //! schema, with interface for deferred Item class. 0023 class Express_Enum : public Express_Item 0024 { 0025 0026 public: 0027 0028 //! Create ENUM item and initialize it 0029 Standard_EXPORT Express_Enum (const Standard_CString theName, const Handle(TColStd_HSequenceOfHAsciiString)& theNames); 0030 0031 //! Returns names of enumeration variants 0032 Standard_EXPORT const Handle(TColStd_HSequenceOfHAsciiString)& Names() const; 0033 0034 //! Create HXX/CXX files from item 0035 Standard_EXPORT virtual Standard_Boolean GenerateClass() const Standard_OVERRIDE; 0036 0037 //! Propagates the calls of Use function 0038 Standard_EXPORT virtual void PropagateUse() const Standard_OVERRIDE; 0039 0040 DEFINE_STANDARD_RTTIEXT(Express_Enum, Express_Item) 0041 0042 protected: 0043 0044 private: 0045 0046 Handle(TColStd_HSequenceOfHAsciiString) myNames; 0047 0048 }; 0049 0050 #endif // _Express_Enum_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |