Helper macros to declare a property with its getter and setter.
PROPERTY_[ | PROTECTED | PRIVATE]_GET_[ | PROTECTED | PRIVATE]_SET(type, name)
Macros | |
#define | PROPERTY_GET_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PROTECTED_GET_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PRIVATE_GET_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_GET_PROTECTED_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_GET_PRIVATE_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PROTECTED_GET_PRIVATE_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PRIVATE_GET_PRIVATE_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PROTECTED_GET_PROTECTED_SET(type, name) |
Helper to declare a property. More... | |
#define | PROPERTY_PRIVATE_GET_PROTECTED_SET(type, name) |
Helper to declare a property. More... | |
#define PROPERTY_GET_PRIVATE_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is public and Setter is private.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_GET_PROTECTED_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is public and Setter is protected.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_GET_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter and Setter are public.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PRIVATE_GET_PRIVATE_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter and setter are private.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PRIVATE_GET_PROTECTED_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is private and setter is protected.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PRIVATE_GET_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is private and Setter is public.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PROTECTED_GET_PRIVATE_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is protected and Setter is private.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PROTECTED_GET_PROTECTED_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter and setter are protected.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.
#define PROPERTY_PROTECTED_GET_SET | ( | type, | |
name | |||
) |
Helper to declare a property.
Getter is protected and Setter is public.
type | The property type. The property type should be scalar. |
name | The property name. Getter and Setter are created with Getname() and Setname(). |
Direct access to the field is possible using name (private).
Context of use : Class declaration.