1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
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.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SMESHDS_ListNodeOfListOfCommand_HeaderFile
17 #define _SMESHDS_ListNodeOfListOfCommand_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMESHDS_ListNodeOfListOfCommand_HeaderFile
23 #include "Handle_SMESHDS_ListNodeOfListOfCommand.hxx"
26 #ifndef _Handle_SMESHDS_Command_HeaderFile
27 #include "Handle_SMESHDS_Command.hxx"
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
35 class SMESHDS_Command;
36 class SMESHDS_ListOfCommand;
37 class SMESHDS_ListIteratorOfListOfCommand;
40 class SMESHDS_ListNodeOfListOfCommand : public TCollection_MapNode {
44 inline void* operator new(size_t,void* anAddress)
48 inline void* operator new(size_t size)
50 return Standard::Allocate(size);
52 inline void operator delete(void *anAddress)
54 if (anAddress) Standard::Free((Standard_Address&)anAddress);
56 // inline void operator delete(void *anAddress, size_t size)
58 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
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();
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;
93 Handle_SMESHDS_Command myValue;
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>
109 #include <TCollection_ListNode.lxx>
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
123 // other inline functions and methods (like "C++: function call" methods)