0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / HeaderSection / HeaderSection_FileName.hxx
CommitLineData
42cf5bc1 1// Created on: 1994-06-16
2// Created by: EXPRESS->CDL V0.2 Translator
3// Copyright (c) 1994-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _HeaderSection_FileName_HeaderFile
18#define _HeaderSection_FileName_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <Interface_HArray1OfHAsciiString.hxx>
25e59720 24#include <Standard_Transient.hxx>
42cf5bc1 25#include <Standard_Integer.hxx>
26class TCollection_HAsciiString;
27
28
29class HeaderSection_FileName;
25e59720 30DEFINE_STANDARD_HANDLE(HeaderSection_FileName, Standard_Transient)
42cf5bc1 31
32
25e59720 33class HeaderSection_FileName : public Standard_Transient
42cf5bc1 34{
35
36public:
37
38
39 //! Returns a FileName
40 Standard_EXPORT HeaderSection_FileName();
41
42 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);
43
44 Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& aName);
45
46 Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
47
48 Standard_EXPORT void SetTimeStamp (const Handle(TCollection_HAsciiString)& aTimeStamp);
49
50 Standard_EXPORT Handle(TCollection_HAsciiString) TimeStamp() const;
51
52 Standard_EXPORT void SetAuthor (const Handle(Interface_HArray1OfHAsciiString)& aAuthor);
53
54 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Author() const;
55
56 Standard_EXPORT Handle(TCollection_HAsciiString) AuthorValue (const Standard_Integer num) const;
57
58 Standard_EXPORT Standard_Integer NbAuthor() const;
59
60 Standard_EXPORT void SetOrganization (const Handle(Interface_HArray1OfHAsciiString)& aOrganization);
61
62 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Organization() const;
63
64 Standard_EXPORT Handle(TCollection_HAsciiString) OrganizationValue (const Standard_Integer num) const;
65
66 Standard_EXPORT Standard_Integer NbOrganization() const;
67
68 Standard_EXPORT void SetPreprocessorVersion (const Handle(TCollection_HAsciiString)& aPreprocessorVersion);
69
70 Standard_EXPORT Handle(TCollection_HAsciiString) PreprocessorVersion() const;
71
72 Standard_EXPORT void SetOriginatingSystem (const Handle(TCollection_HAsciiString)& aOriginatingSystem);
73
74 Standard_EXPORT Handle(TCollection_HAsciiString) OriginatingSystem() const;
75
76 Standard_EXPORT void SetAuthorisation (const Handle(TCollection_HAsciiString)& aAuthorisation);
77
78 Standard_EXPORT Handle(TCollection_HAsciiString) Authorisation() const;
79
80
81
82
25e59720 83 DEFINE_STANDARD_RTTIEXT(HeaderSection_FileName,Standard_Transient)
42cf5bc1 84
85protected:
86
87
88
89
90private:
91
92
93 Handle(TCollection_HAsciiString) name;
94 Handle(TCollection_HAsciiString) timeStamp;
95 Handle(Interface_HArray1OfHAsciiString) author;
96 Handle(Interface_HArray1OfHAsciiString) organization;
97 Handle(TCollection_HAsciiString) preprocessorVersion;
98 Handle(TCollection_HAsciiString) originatingSystem;
99 Handle(TCollection_HAsciiString) authorisation;
100
101
102};
103
104
105
106
107
108
109
110#endif // _HeaderSection_FileName_HeaderFile