Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1994-06-16
0002 // Created by: EXPRESS->CDL V0.2 Translator
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 _HeaderSection_FileName_HeaderFile
0018 #define _HeaderSection_FileName_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 
0022 #include <Interface_HArray1OfHAsciiString.hxx>
0023 #include <Standard_Transient.hxx>
0024 #include <Standard_Integer.hxx>
0025 class TCollection_HAsciiString;
0026 
0027 
0028 class HeaderSection_FileName;
0029 DEFINE_STANDARD_HANDLE(HeaderSection_FileName, Standard_Transient)
0030 
0031 
0032 class HeaderSection_FileName : public Standard_Transient
0033 {
0034 
0035 public:
0036 
0037   
0038   //! Returns a FileName
0039   Standard_EXPORT HeaderSection_FileName();
0040   
0041   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aTimeStamp, const Handle(Interface_HArray1OfHAsciiString)& aAuthor, const Handle(Interface_HArray1OfHAsciiString)& aOrganization, const Handle(TCollection_HAsciiString)& aPreprocessorVersion, const Handle(TCollection_HAsciiString)& aOriginatingSystem, const Handle(TCollection_HAsciiString)& aAuthorisation);
0042   
0043   Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& aName);
0044   
0045   Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
0046   
0047   Standard_EXPORT void SetTimeStamp (const Handle(TCollection_HAsciiString)& aTimeStamp);
0048   
0049   Standard_EXPORT Handle(TCollection_HAsciiString) TimeStamp() const;
0050   
0051   Standard_EXPORT void SetAuthor (const Handle(Interface_HArray1OfHAsciiString)& aAuthor);
0052   
0053   Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Author() const;
0054   
0055   Standard_EXPORT Handle(TCollection_HAsciiString) AuthorValue (const Standard_Integer num) const;
0056   
0057   Standard_EXPORT Standard_Integer NbAuthor() const;
0058   
0059   Standard_EXPORT void SetOrganization (const Handle(Interface_HArray1OfHAsciiString)& aOrganization);
0060   
0061   Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Organization() const;
0062   
0063   Standard_EXPORT Handle(TCollection_HAsciiString) OrganizationValue (const Standard_Integer num) const;
0064   
0065   Standard_EXPORT Standard_Integer NbOrganization() const;
0066   
0067   Standard_EXPORT void SetPreprocessorVersion (const Handle(TCollection_HAsciiString)& aPreprocessorVersion);
0068   
0069   Standard_EXPORT Handle(TCollection_HAsciiString) PreprocessorVersion() const;
0070   
0071   Standard_EXPORT void SetOriginatingSystem (const Handle(TCollection_HAsciiString)& aOriginatingSystem);
0072   
0073   Standard_EXPORT Handle(TCollection_HAsciiString) OriginatingSystem() const;
0074   
0075   Standard_EXPORT void SetAuthorisation (const Handle(TCollection_HAsciiString)& aAuthorisation);
0076   
0077   Standard_EXPORT Handle(TCollection_HAsciiString) Authorisation() const;
0078 
0079 
0080 
0081 
0082   DEFINE_STANDARD_RTTIEXT(HeaderSection_FileName,Standard_Transient)
0083 
0084 protected:
0085 
0086 
0087 
0088 
0089 private:
0090 
0091 
0092   Handle(TCollection_HAsciiString) name;
0093   Handle(TCollection_HAsciiString) timeStamp;
0094   Handle(Interface_HArray1OfHAsciiString) author;
0095   Handle(Interface_HArray1OfHAsciiString) organization;
0096   Handle(TCollection_HAsciiString) preprocessorVersion;
0097   Handle(TCollection_HAsciiString) originatingSystem;
0098   Handle(TCollection_HAsciiString) authorisation;
0099 
0100 
0101 };
0102 
0103 
0104 
0105 
0106 
0107 
0108 
0109 #endif // _HeaderSection_FileName_HeaderFile