Base class of all container classes holding a managed reference to some Object
.
More...
#include <object.hh>
Base class of all container classes holding a managed reference to some Object
.
Specifies the object type being held by the container class.
Container::Container |
( |
Object * |
object | ) |
|
Packs the given object in a container.
The ownership of the object is taken.
Container::Container |
( |
const Container & |
other | ) |
|
Container::~Container |
( |
| ) |
|
|
virtual |
Dynamic container cast.
Retruns an empty container of type T
if the cast fails.
template<class T >
bool wt::Container::is |
( |
| ) |
|
|
inline |
Returns true
if the object held by the container is of type T::ObjectType
.
bool wt::Container::isNull |
( |
| ) |
const |
|
inline |
Returns true
if the container is empty (null).
Object* wt::Container::_object |
|
protected |
The object being managed.
The documentation for this class was generated from the following files:
- /Users/hannes/Uni/Wavelet/wt/lib/object.hh
- /Users/hannes/Uni/Wavelet/wt/lib/object.cc