Salome HOME
5b8101b40f0f46619e744895faffcef0422c06ab
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListNodeOfListOfCommand.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _SMESHDS_ListNodeOfListOfCommand_HeaderFile
17 #define _SMESHDS_ListNodeOfListOfCommand_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMESHDS_ListNodeOfListOfCommand_HeaderFile
23 #include "Handle_SMESHDS_ListNodeOfListOfCommand.hxx"
24 #endif
25
26 #ifndef _Handle_SMESHDS_Command_HeaderFile
27 #include "Handle_SMESHDS_Command.hxx"
28 #endif
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
31 #endif
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
34 #endif
35 class SMESHDS_Command;
36 class SMESHDS_ListOfCommand;
37 class SMESHDS_ListIteratorOfListOfCommand;
38
39
40 class SMESHDS_ListNodeOfListOfCommand : public TCollection_MapNode {
41
42 public:
43
44     inline void* operator new(size_t,void* anAddress) 
45       {
46         return anAddress;
47       }
48     inline void* operator new(size_t size) 
49       { 
50         return Standard::Allocate(size); 
51       }
52     inline void  operator delete(void *anAddress) 
53       { 
54         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
55       }
56 //    inline void  operator delete(void *anAddress, size_t size) 
57 //      { 
58 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
59 //      }
60  // Methods PUBLIC
61  // 
62 Standard_EXPORT inline SMESHDS_ListNodeOfListOfCommand(const Handle(SMESHDS_Command)& I,const TCollection_MapNodePtr& n);
63 Standard_EXPORT inline   Handle_SMESHDS_Command& Value() const;
64 Standard_EXPORT ~SMESHDS_ListNodeOfListOfCommand();
65
66
67
68
69  // Type management
70  //
71  Standard_EXPORT friend Handle_Standard_Type& SMESHDS_ListNodeOfListOfCommand_Type_();
72  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
73  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
74
75 protected:
76
77  // Methods PROTECTED
78  // 
79
80
81  // Fields PROTECTED
82  //
83
84
85 private: 
86
87  // Methods PRIVATE
88  // 
89
90
91  // Fields PRIVATE
92  //
93 Handle_SMESHDS_Command myValue;
94
95
96 };
97
98 #define Item Handle_SMESHDS_Command
99 #define Item_hxx <SMESHDS_Command.hxx>
100 #define TCollection_ListNode SMESHDS_ListNodeOfListOfCommand
101 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfCommand.hxx>
102 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfCommand
103 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfCommand.hxx>
104 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfCommand
105 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfCommand_Type_()
106 #define TCollection_List SMESHDS_ListOfCommand
107 #define TCollection_List_hxx <SMESHDS_ListOfCommand.hxx>
108
109 #include <TCollection_ListNode.lxx>
110
111 #undef Item
112 #undef Item_hxx
113 #undef TCollection_ListNode
114 #undef TCollection_ListNode_hxx
115 #undef TCollection_ListIterator
116 #undef TCollection_ListIterator_hxx
117 #undef Handle_TCollection_ListNode
118 #undef TCollection_ListNode_Type_
119 #undef TCollection_List
120 #undef TCollection_List_hxx
121
122
123 // other inline functions and methods (like "C++: function call" methods)
124 //
125
126
127 #endif