Helper macros to declare an object (child) with its getter and setter.
PROPERTY_[ | PROTECTED | PRIVATE]_OBJECT(type, name)
Macros | |
| #define | PROPERTY_OBJECT(type, name) | 
| Helper to declare a child object. More... | |
| #define | PROPERTY_PRIVATE_OBJECT(type, name) | 
| Helper to declare a child object. More... | |
| #define | PROPERTY_PROTECTED_OBJECT(type, name) | 
| Helper to declare a child object. More... | |
| #define PROPERTY_OBJECT | ( | type, | |
| name | |||
| ) | 
Helper to declare a child object.
Getter is public.
| type | The child object type. The child object type should be a non scalar class. | 
| name | The child object name. Getter is created with Getname(). | 
Direct access to the child object is possible using _name (private).
Context of use : Class declaration.
| #define PROPERTY_PRIVATE_OBJECT | ( | type, | |
| name | |||
| ) | 
Helper to declare a child object.
Getter is private.
| type | The child object type. The child object type should be a non scalar class. | 
| name | The child object name. Getter is created with Getname(). | 
Direct access to the child object is possible using _name (private).
Context of use : Class declaration.
| #define PROPERTY_PROTECTED_OBJECT | ( | type, | |
| name | |||
| ) | 
Helper to declare a child object.
Getter is protected.
| type | The child object type. The child object type should be a non scalar class. | 
| name | The child object name. Getter is created with Getname(). | 
Direct access to the child object is possible using _name (private).
Context of use : Class declaration.