[ Lit Window Library at SourceForge ] [ Lit Window Productions Homepage ] [ wxWidgets Tips&Tricks ] [ wxVisualSetup ]
Classes | |
| class | accessor |
| Objects of this class allow read-write access to a single property. More... | |
| class | aggregate |
| Base implementation for an aggregate (non-const) of properties. More... | |
| class | const_accessor |
| Provides basic readonly access to objects of any kind. More... | |
| class | const_aggregate |
| Base implementation for a const aggregate of properties. More... | |
| class | typed_accessor |
| typed_accessor is an accessor with additional type information and get/set functions. More... | |
| class | typed_const_accessor |
| typed_const_accessor is a const_accessor with additional get/set functions that work with the actual type of the object. More... | |
Functions | |
| const_accessor | litwindow::const_accessor::clone () const |
| Clone the underlying object. | |
| accessor | litwindow::const_cast_accessor (const const_accessor &access) |
| returns an accessor for a const_accessor. | |
| accessor | litwindow::create_object (prop_t object_type) |
| void | litwindow::destroy_object (accessor &a) |
| template<class Value> | |
| typed_const_accessor< Value > | litwindow::dynamic_cast_accessor (const const_accessor &p) |
| template<class Value> | |
| typed_accessor< Value > | litwindow::dynamic_cast_accessor (const accessor &p) |
| Cast an accessor to a typed_accessor. | |
| aggregate | litwindow::accessor::get_aggregate () const |
| get an aggregate accessor for this object. | |
| const_aggregate | litwindow::const_accessor::get_aggregate () const |
| Return an aggregate accessor for this object. | |
| template<class Value> | |
| bool | litwindow::is_type (const const_accessor &p) |
tests the type of the object pointed to by accessor p. | |
| template<class Value> | |
| accessor | litwindow::make_accessor (Value &v) |
| Create an accessor for an object. | |
| template<class Value> | |
| aggregate | litwindow::make_aggregate (Value &v) |
| template<class Value> | |
| const_accessor | litwindow::make_const_accessor (const Value &v) |
| Create a const_accessor for an object. | |
| template<class Value> | |
| const_aggregate | litwindow::make_const_aggregate (Value &v) |
|
|
This function allocates a new object on the heap and copies the contents of the current object to the new object.
Reimplemented in accessor. |
|
|
Removes the const'ness. Similar to const_cast<>. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from const_accessor. |
|
|
It is valid to call get_aggregate for an object that isn't an aggregate. If thats the case, const_aggregate::is_valid() will return false for the returned aggregate accessor. Reimplemented in accessor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright 2004, Hajo Kirchhoff, Lit Window Productions