bbtkObject.h File Reference

Object : the top class of bbtk class hierarchy. More...

#include <bbtkSystem.h>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <set>

Include dependency graph for bbtkObject.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bbtk

Classes

class  bbtk::Object
struct  bbtk::Object::Deleter
 Default objects deleter : removes object from list on deletion. More...
class  bbtk::StaticInitTime

Defines

#define BBTK_OBJECT_DEFINE_SELF(CLASS)   public : typedef CLASS Self;
#define BBTK_FORWARD_DECLARE_POINTER(CLASS)
#define BBTK_OBJECT_MINIMAL_INTERFACE
#define BBTK_OBJECT_MINIMAL_INTERFACE_WITH_SELF(CLASS)
#define BBTK_OBJECT_INTERFACE(CLASS)
#define BBTK_OBJECT_INTERFACE_NO_CONDES(CLASS)
#define BBTK_ABSTRACT_OBJECT_INTERFACE(CLASS)


Detailed Description

Object : the top class of bbtk class hierarchy.

Definition in file bbtkObject.h.


Define Documentation

#define BBTK_ABSTRACT_OBJECT_INTERFACE ( CLASS   ) 

Value:

public : typedef CLASS Self;                                            \
    BBTK_OBJECT_MINIMAL_INTERFACE;                                      \
protected:                                                              \
    CLASS();                                                            \
    CLASS(const CLASS&);                                                        \
    virtual ~CLASS();

Definition at line 190 of file bbtkObject.h.

#define BBTK_FORWARD_DECLARE_POINTER ( CLASS   ) 

Value:

typedef boost::shared_ptr<CLASS> CLASS ## Pointer;              \
    typedef boost::weak_ptr<CLASS> CLASS ## WeakPointer;

Definition at line 147 of file bbtkObject.h.

#define BBTK_OBJECT_DEFINE_SELF ( CLASS   )     public : typedef CLASS Self;

Definition at line 145 of file bbtkObject.h.

#define BBTK_OBJECT_INTERFACE ( CLASS   ) 

Value:

BBTK_OBJECT_MINIMAL_INTERFACE_WITH_SELF(CLASS);             \
public:                                                             \
  std::string GetObjectName() const;                                \
    std::string GetObjectInfo() const ;                             \
    size_t GetObjectSize() const ;                                  \
    size_t GetObjectInternalSize() const ;                          \
    size_t GetObjectRecursiveSize() const ;                         \
protected:                                                          \
    CLASS();                                                        \
    CLASS(const CLASS&);                                                    \
    ~CLASS();

Definition at line 168 of file bbtkObject.h.

#define BBTK_OBJECT_INTERFACE_NO_CONDES ( CLASS   ) 

Value:

BBTK_OBJECT_MINIMAL_INTERFACE_WITH_SELF(CLASS);             \
public:                                                             \
  std::string GetObjectName() const;                                \
    std::string GetObjectInfo() const ;                             \
    size_t GetObjectSize() const ;                                  \
    size_t GetObjectInternalSize() const ;                          \
    size_t GetObjectRecursiveSize() const ;

Definition at line 181 of file bbtkObject.h.

#define BBTK_OBJECT_MINIMAL_INTERFACE

Value:

public:                                                         \
  typedef boost::shared_ptr<Self> Pointer;                              \
    typedef boost::weak_ptr<Self> WeakPointer;                          \
    friend struct Object::Deleter;

Definition at line 152 of file bbtkObject.h.

#define BBTK_OBJECT_MINIMAL_INTERFACE_WITH_SELF ( CLASS   ) 

Value:

public : typedef CLASS Self;                            \
    BBTK_OBJECT_MINIMAL_INTERFACE;

Definition at line 163 of file bbtkObject.h.


Generated on Wed Nov 12 11:37:52 2008 for BBTK by  doxygen 1.5.6