Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:57

0001 // Created on: 1992-04-06
0002 // Created by: Christian CAILLET
0003 // Copyright (c) 1992-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 _IGESData_DirPart_HeaderFile
0018 #define _IGESData_DirPart_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 class IGESData_IGESType;
0025 
0026 //! literal/numeric description of an entity's directory section, taken from file
0027 class IGESData_DirPart 
0028 {
0029 public:
0030 
0031   DEFINE_STANDARD_ALLOC
0032 
0033   //! creates an empty DirPart, ready to be filled by Init
0034   Standard_EXPORT IGESData_DirPart();
0035 
0036   //! fills DirPart with consistent data read from file
0037   Standard_EXPORT void Init (const Standard_Integer i1, const Standard_Integer i2, const Standard_Integer i3, const Standard_Integer i4, const Standard_Integer i5, const Standard_Integer i6, const Standard_Integer i7, const Standard_Integer i8, const Standard_Integer i9, const Standard_Integer i19, const Standard_Integer i11, const Standard_Integer i12, const Standard_Integer i13, const Standard_Integer i14, const Standard_Integer i15, const Standard_Integer i16, const Standard_Integer i17, const Standard_CString res1, const Standard_CString res2, const Standard_CString label, const Standard_CString subscript);
0038 
0039   //! returns values recorded in DirPart
0040   //! (content of cstrings are modified)
0041   Standard_EXPORT void Values (Standard_Integer& i1, Standard_Integer& i2, Standard_Integer& i3, Standard_Integer& i4, Standard_Integer& i5, Standard_Integer& i6, Standard_Integer& i7, Standard_Integer& i8, Standard_Integer& i9, Standard_Integer& i19, Standard_Integer& i11, Standard_Integer& i12, Standard_Integer& i13, Standard_Integer& i14, Standard_Integer& i15, Standard_Integer& i16, Standard_Integer& i17, const Standard_CString res1, const Standard_CString res2, const Standard_CString label, const Standard_CString subscript) const;
0042   
0043   //! returns "type" and "form" info, used to recognize the entity
0044   Standard_EXPORT IGESData_IGESType Type() const;
0045 
0046 private:
0047 
0048   Standard_Integer thevals[17];
0049   Standard_Character theres1[10];
0050   Standard_Character theres2[10];
0051   Standard_Character thelabl[10];
0052   Standard_Character thesubs[10];
0053 
0054 };
0055 
0056 #endif // _IGESData_DirPart_HeaderFile