
#include <Exposition.h>
Inheritance diagram for Expo:

Public Member Functions | |
| Expo (string const &name, string const &type, data_type datatype, Exposer *parent=Exposer::Current()) | |
| Constructor. Needs to have the name, type, datatype specified. | |
| Expo * | Add (Property *property) |
| Adds a property to the exposition. | |
| Expo & | operator<< (Property *property) |
| Adds a property to the exposition. | |
| bool | Has (Property::expo_property property) |
| Returns true if the exposition has the specified property. | |
| set< Property *, PropertyCompare > & | Properties () |
| Returns the entire properties set. | |
| Property * | FindProperty (Property::expo_property property) |
| Returns the Property object with the specified expo_property (NULL if not found). | |
| string const & | Name () const |
| Returns the exposition name. | |
| string const & | Type () const |
| Returns the exposition type. | |
| data_type | DataType () const |
| Returns the exposition data type. | |
| int | Order () const |
| Returns the order in which the exposition was created. | |
| Exposer & | GetExposer () |
| Returns the exposer this exposition belongs to. | |
| virtual vartype | Call (void *p=NULL) |
| Executes the action (function call) associated with the exposition. | |
| virtual void | Set (vartype const &v, ExposerManifester *by=NULL) |
| Sets the value associated with the exposition. | |
| virtual vartype | Get () |
| Gets the value associated with the exposition. | |
Protected Attributes | |
| string | name |
| Name of the exposition. Used to reference it. | |
| string | type |
| Type of exposition. For example, "Method" or "Variable". | |
| data_type | datatype |
| Data type referenced by the exposition. | |
| set< Property *, PropertyCompare > | properties |
| Properties for this exposition. | |
| Exposer * | parent |
| Exposer this exposition belongs to. | |
| int | order |
| Order in which this exposition was created. | |
Expositions are used to expose parts of a class to the UI modules. This can be used, for example, to expose a variable or a function.
|
|
Returns the exposition data type.
|
|
|
Returns the exposer this exposition belongs to.
|
|
|
Returns the exposition name.
|
|
|
Returns the exposition type.
|
|
|
Properties for this exposition.
|