0026595: Lost some comments in OCCT-code after cdl elimination
[occt.git] / src / STEPCAFControl / STEPCAFControl_StackItemOfDictionaryOfExternFile.hxx
CommitLineData
42cf5bc1 1// Created on: 2000-04-09
2// Created by: Sergey MOZOKHIN
3// Copyright (c) 2000-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _STEPCAFControl_StackItemOfDictionaryOfExternFile_HeaderFile
17#define _STEPCAFControl_StackItemOfDictionaryOfExternFile_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_Type.hxx>
21
22#include <MMgt_TShared.hxx>
23class STEPCAFControl_DictionaryOfExternFile;
24class STEPCAFControl_ExternFile;
25class STEPCAFControl_IteratorOfDictionaryOfExternFile;
26
27
28class STEPCAFControl_StackItemOfDictionaryOfExternFile;
29DEFINE_STANDARD_HANDLE(STEPCAFControl_StackItemOfDictionaryOfExternFile, MMgt_TShared)
30
31
32class STEPCAFControl_StackItemOfDictionaryOfExternFile : public MMgt_TShared
33{
34
35public:
36
37
36b9ff75 38 //! Creates a StackItem with no Previous one
42cf5bc1 39 Standard_EXPORT STEPCAFControl_StackItemOfDictionaryOfExternFile();
40
36b9ff75 41 //! Creates a StackItem with a Previous one
42cf5bc1 42 Standard_EXPORT STEPCAFControl_StackItemOfDictionaryOfExternFile(const Handle(STEPCAFControl_StackItemOfDictionaryOfExternFile)& previous);
43
36b9ff75 44 //! Returns the Previous Item (is Null if no Previous defined)
42cf5bc1 45 Standard_EXPORT Handle(STEPCAFControl_StackItemOfDictionaryOfExternFile) Previous() const;
46
36b9ff75 47 //! Returns the Dictionary Cell corresponding to an Item
42cf5bc1 48 Standard_EXPORT Handle(STEPCAFControl_DictionaryOfExternFile) Value() const;
49
36b9ff75 50 //! Sets a new Dictionary Cell as Value of an Item
42cf5bc1 51 Standard_EXPORT void SetValue (const Handle(STEPCAFControl_DictionaryOfExternFile)& cval);
52
53
54
55
56 DEFINE_STANDARD_RTTI(STEPCAFControl_StackItemOfDictionaryOfExternFile,MMgt_TShared)
57
58protected:
59
60
61
62
63private:
64
65
66 Handle(STEPCAFControl_DictionaryOfExternFile) thevalue;
67 Handle(STEPCAFControl_StackItemOfDictionaryOfExternFile) theprev;
68
69
70};
71
72
73
74
75
76
77
78#endif // _STEPCAFControl_StackItemOfDictionaryOfExternFile_HeaderFile