BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
object.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_CONCEPT_OBJECT_H
6 #define BALL_CONCEPT_OBJECT_H
7 
8 #ifndef BALL_CONCEPT_AUTODELETABLE_H
10 #endif
11 
12 #ifndef BALL_COMMON_RTTI_H
13 # include <BALL/COMMON/rtti.h>
14 #endif
15 
16 #ifndef BALL_CONCEPT_BIDIRECTIONALITERATOR_H
18 #endif
19 
20 #ifndef BALL_COMMON_GLOBAL_H
21 # include <BALL/COMMON/global.h>
22 #endif
23 
24 namespace BALL
25 {
26 
35  : public AutoDeletable
36  {
37  public:
38 
40 
41 
43 
45  Object()
46  ;
47 
49  Object(const Object& object)
50  ;
51 
53  virtual ~Object()
54  ;
55 
57  virtual void clear()
58  ;
59 
61 
64 
71  const Object& operator = (const Object& /* object */)
72  ;
73 
75 
78 
82  Handle getHandle() const
83  ;
84 
89  static Handle getNextHandle()
90  ;
91 
96  static Handle getNewHandle()
97  ;
99 
107  bool operator == (const Object& object) const
108  ;
109 
116  bool operator != (const Object& object) const
117  ;
118 
125  bool operator < (const Object& object) const
126  ;
127 
134  bool operator <= (const Object& object) const
135  ;
136 
144  bool operator >= (const Object& object) const
145  ;
146 
153  bool operator > (const Object& object) const
154  ;
155 
162  int compare(const Object& object) const
163  ;
165 
168 
170  virtual bool isValid() const
171  ;
172 
174  virtual void dump(::std::ostream& s = std::cout, Size depth = 0) const
175  ;
177 
178  private:
179 
180  //_ The handle of this instance
182 
183  //_ The global handle
185  };
186 
187 
188 # ifndef BALL_NO_INLINE_FUNCTIONS
189 # include <BALL/CONCEPT/object.iC>
190 # endif
191 
192 } // namespace BALL
193 
194 #endif // BALL_CONCEPT_OBJECT_H