]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMDS/GEOMDS_Explorer.hxx
Salome HOME
c8858f4602a70a2c4797bb1f8943e9428f61e4fe
[modules/geom.git] / src / GEOMDS / GEOMDS_Explorer.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _GEOMDS_Explorer_HeaderFile
16 #define _GEOMDS_Explorer_HeaderFile
17
18 #ifndef _TDF_ChildIterator_HeaderFile
19 #include <TDF_ChildIterator.hxx>
20 #endif
21 #ifndef _Standard_Boolean_HeaderFile
22 #include <Standard_Boolean.hxx>
23 #endif
24 class TDF_Label;
25 class TopoDS_Shape;
26 class TCollection_ExtendedString;
27
28
29 #ifndef _Standard_HeaderFile
30 #include <Standard.hxx>
31 #endif
32 #ifndef _Standard_Macro_HeaderFile
33 #include <Standard_Macro.hxx>
34 #endif
35
36 class GEOMDS_Explorer  {
37
38 public:
39
40     inline void* operator new(size_t,void* anAddress) 
41       {
42         return anAddress;
43       }
44     inline void* operator new(size_t size) 
45       { 
46         return Standard::Allocate(size); 
47       }
48     inline void  operator delete(void *anAddress) 
49       { 
50         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
51       }
52 //    inline void  operator delete(void *anAddress, size_t size) 
53 //      { 
54 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
55 //      }
56  // Methods PUBLIC
57  // 
58 Standard_EXPORT GEOMDS_Explorer(const TDF_Label& Main);
59 Standard_EXPORT Standard_Boolean More() ;
60 Standard_EXPORT void Next() ;
61 Standard_EXPORT TopoDS_Shape Shape() const;
62 Standard_EXPORT TCollection_ExtendedString Name() const;
63
64 protected:
65
66  // Methods PROTECTED
67  // 
68
69  // Fields PROTECTED
70  //
71
72
73 private: 
74
75  // Methods PRIVATE
76  // 
77
78  // Fields PRIVATE
79  //
80 TDF_ChildIterator myChildIterator;
81
82
83 };
84
85
86 // other inline functions and methods (like "C++: function call" methods)
87 //
88
89 #endif