![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
Describes a class attribute. More...
#include <PClassAttribute.h>
Public Member Functions | |
| PString & | getDefaultValue () |
| Gets the defaultValue of the PClassAttribute. | |
| const PString & | getDefaultValue () const |
| Gets the defaultValue of the PClassAttribute. | |
| PString & | getDocumentation () |
| Gets the documentation of the PClassAttribute. | |
| const PString & | getDocumentation () const |
| Gets the documentation of the PClassAttribute. | |
| bool & | getIsEnum () |
| Gets the isEnum of the PClassAttribute. | |
| bool | getIsEnum () const |
| Gets the isEnum of the PClassAttribute. | |
| bool & | getIsPointer () |
| Gets the isPointer of the PClassAttribute. | |
| bool | getIsPointer () const |
| Gets the isPointer of the PClassAttribute. | |
| bool & | getIsReference () |
| Gets the isReference of the PClassAttribute. | |
| bool | getIsReference () const |
| Gets the isReference of the PClassAttribute. | |
| PString & | getName () |
| Gets the name of the PClassAttribute. | |
| const PString & | getName () const |
| Gets the name of the PClassAttribute. | |
| PString & | getType () |
| Gets the type of the PClassAttribute. | |
| const PString & | getType () const |
| Gets the type of the PClassAttribute. | |
| PClassAttribute & | operator= (const PClassAttribute &other) |
| Operator = of class PClassAttribute. | |
| PClassAttribute () | |
| Constructor of class PClassAttribute. | |
| PClassAttribute (const PClassAttribute &other) | |
| Copy Constructor of class PClassAttribute. | |
| void | setDefaultValue (const PString &defaultValue) |
| Sets the defaultValue of the PClassAttribute. | |
| void | setDocumentation (const PString &documentation) |
| Sets the documentation of the PClassAttribute. | |
| void | setIsEnum (bool isEnum) |
| Sets the isEnum of the PClassAttribute. | |
| void | setIsPointer (bool isPointer) |
| Sets the isPointer of the PClassAttribute. | |
| void | setIsReference (bool isReference) |
| Sets the isReference of the PClassAttribute. | |
| void | setName (const PString &name) |
| Sets the name of the PClassAttribute. | |
| void | setType (const PString &type) |
| Sets the type of the PClassAttribute. | |
| virtual | ~PClassAttribute () |
| Destructor of class PClassAttribute. | |
Protected Member Functions | |
| void | copyPClassAttribute (const PClassAttribute &other) |
| Copy Function of class PClassAttribute. | |
Private Member Functions | |
| void | initialisationPClassAttribute () |
| Initialisation Function of class PClassAttribute. | |
Private Attributes | |
| PString | p_defaultValue |
| Default value of the attribute. | |
| PString | p_documentation |
| Documentation string. | |
| bool | p_isEnum |
| True if the PClassAttribute is an enum. | |
| bool | p_isPointer |
| true if is a pointer | |
| bool | p_isReference |
| True if it is a reference. | |
| PString | p_name |
| Name of the attribute. | |
| PString | p_type |
| Type of the attribute. | |
Describes a class attribute.
Definition at line 13 of file PClassAttribute.h.
| PClassAttribute::PClassAttribute | ( | ) |
Constructor of class PClassAttribute.
Definition at line 11 of file PClassAttribute.cpp.
References initialisationPClassAttribute().
Referenced by copyPClassAttribute(), operator=(), and PClassAttribute().
Here is the call graph for this function:
Here is the caller graph for this function:| PClassAttribute::PClassAttribute | ( | const PClassAttribute & | other | ) |
Copy Constructor of class PClassAttribute.
| other | : PClassAttribute we want ot copy |
Definition at line 18 of file PClassAttribute.cpp.
References copyPClassAttribute(), and PClassAttribute().
Here is the call graph for this function:
|
virtual |
|
protected |
Copy Function of class PClassAttribute.
| other | : PClassAttribute we want ot copy |
Definition at line 186 of file PClassAttribute.cpp.
References p_defaultValue, p_documentation, p_isEnum, p_isPointer, p_isReference, p_name, p_type, and PClassAttribute().
Referenced by operator=(), and PClassAttribute().
Here is the call graph for this function:
Here is the caller graph for this function:| PString & PClassAttribute::getDefaultValue | ( | ) |
Gets the defaultValue of the PClassAttribute.
Definition at line 123 of file PClassAttribute.cpp.
References p_defaultValue.
| const PString & PClassAttribute::getDefaultValue | ( | ) | const |
Gets the defaultValue of the PClassAttribute.
Definition at line 116 of file PClassAttribute.cpp.
References p_defaultValue.
| PString & PClassAttribute::getDocumentation | ( | ) |
Gets the documentation of the PClassAttribute.
Definition at line 165 of file PClassAttribute.cpp.
References p_documentation.
| const PString & PClassAttribute::getDocumentation | ( | ) | const |
Gets the documentation of the PClassAttribute.
Definition at line 158 of file PClassAttribute.cpp.
References p_documentation.
Referenced by project_wrapper_attributeDef().
Here is the caller graph for this function:| bool & PClassAttribute::getIsEnum | ( | ) |
Gets the isEnum of the PClassAttribute.
Definition at line 179 of file PClassAttribute.cpp.
References p_isEnum.
| bool PClassAttribute::getIsEnum | ( | ) | const |
Gets the isEnum of the PClassAttribute.
Definition at line 172 of file PClassAttribute.cpp.
References p_isEnum.
Referenced by data_stream_trait_wrapper_classAttributeFromMessage(), data_stream_trait_wrapper_classAttributeGetSize(), data_stream_trait_wrapper_classAttributeToMessage(), pythonAssertTestValue(), and pythonDefaultTestValue().
Here is the caller graph for this function:| bool & PClassAttribute::getIsPointer | ( | ) |
Gets the isPointer of the PClassAttribute.
Definition at line 137 of file PClassAttribute.cpp.
References p_isPointer.
| bool PClassAttribute::getIsPointer | ( | ) | const |
Gets the isPointer of the PClassAttribute.
Definition at line 130 of file PClassAttribute.cpp.
References p_isPointer.
| bool & PClassAttribute::getIsReference | ( | ) |
Gets the isReference of the PClassAttribute.
Definition at line 151 of file PClassAttribute.cpp.
References p_isReference.
| bool PClassAttribute::getIsReference | ( | ) | const |
Gets the isReference of the PClassAttribute.
Definition at line 144 of file PClassAttribute.cpp.
References p_isReference.
| PString & PClassAttribute::getName | ( | ) |
Gets the name of the PClassAttribute.
Definition at line 109 of file PClassAttribute.cpp.
References p_name.
| const PString & PClassAttribute::getName | ( | ) | const |
Gets the name of the PClassAttribute.
Definition at line 102 of file PClassAttribute.cpp.
References p_name.
Referenced by data_stream_trait_wrapper_callAttributeCheck(), data_stream_trait_wrapper_classAttributeFromMessage(), data_stream_trait_wrapper_classAttributeGetSize(), data_stream_trait_wrapper_classAttributeToMessage(), project_wrapper_attributeDef(), pythonAssertTestValue(), and pythonDefaultTestValue().
Here is the caller graph for this function:| PString & PClassAttribute::getType | ( | ) |
Gets the type of the PClassAttribute.
Definition at line 95 of file PClassAttribute.cpp.
References p_type.
| const PString & PClassAttribute::getType | ( | ) | const |
Gets the type of the PClassAttribute.
Definition at line 88 of file PClassAttribute.cpp.
References p_type.
Referenced by data_stream_trait_wrapper_callAttributeCheck(), data_stream_trait_wrapper_classAttributeFromMessage(), data_stream_trait_wrapper_classAttributeGetSize(), data_stream_trait_wrapper_classAttributeToMessage(), project_wrapper_attributeDef(), pythonAssertTestValue(), and pythonDefaultTestValue().
Here is the caller graph for this function:
|
private |
Initialisation Function of class PClassAttribute.
Definition at line 197 of file PClassAttribute.cpp.
References p_defaultValue, p_documentation, p_isEnum, p_isPointer, p_isReference, p_name, and p_type.
Referenced by PClassAttribute().
Here is the caller graph for this function:| PClassAttribute & PClassAttribute::operator= | ( | const PClassAttribute & | other | ) |
Operator = of class PClassAttribute.
| other | : PClassAttribute we want ot copy |
Definition at line 31 of file PClassAttribute.cpp.
References copyPClassAttribute(), and PClassAttribute().
Here is the call graph for this function:| void PClassAttribute::setDefaultValue | ( | const PString & | defaultValue | ) |
Sets the defaultValue of the PClassAttribute.
| defaultValue | : defaultValue of the PClassAttribute |
Definition at line 53 of file PClassAttribute.cpp.
References p_defaultValue.
Referenced by parseEnumValue().
Here is the caller graph for this function:| void PClassAttribute::setDocumentation | ( | const PString & | documentation | ) |
Sets the documentation of the PClassAttribute.
| documentation | : documentation of the PClassAttribute |
Definition at line 74 of file PClassAttribute.cpp.
References p_documentation.
Referenced by createClassAttribute(), and createClassAttribute().
Here is the caller graph for this function:| void PClassAttribute::setIsEnum | ( | bool | isEnum | ) |
Sets the isEnum of the PClassAttribute.
| isEnum | : isEnum of the PClassAttribute |
Definition at line 81 of file PClassAttribute.cpp.
References p_isEnum.
| void PClassAttribute::setIsPointer | ( | bool | isPointer | ) |
Sets the isPointer of the PClassAttribute.
| isPointer | : isPointer of the PClassAttribute |
Definition at line 60 of file PClassAttribute.cpp.
References p_isPointer.
Referenced by createClassAttribute().
Here is the caller graph for this function:| void PClassAttribute::setIsReference | ( | bool | isReference | ) |
Sets the isReference of the PClassAttribute.
| isReference | : isReference of the PClassAttribute |
Definition at line 67 of file PClassAttribute.cpp.
References p_isReference.
Referenced by createClassAttribute().
Here is the caller graph for this function:| void PClassAttribute::setName | ( | const PString & | name | ) |
Sets the name of the PClassAttribute.
| name | : name of the PClassAttribute |
Definition at line 46 of file PClassAttribute.cpp.
References p_name.
Referenced by createClassAttribute(), and createClassAttribute().
Here is the caller graph for this function:| void PClassAttribute::setType | ( | const PString & | type | ) |
Sets the type of the PClassAttribute.
| type | : type of the PClassAttribute |
Definition at line 39 of file PClassAttribute.cpp.
References p_type.
Referenced by createClassAttribute(), and createClassAttribute().
Here is the caller graph for this function:
|
private |
Default value of the attribute.
Definition at line 49 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getDefaultValue(), getDefaultValue(), initialisationPClassAttribute(), and setDefaultValue().
|
private |
Documentation string.
Definition at line 55 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getDocumentation(), getDocumentation(), initialisationPClassAttribute(), and setDocumentation().
|
private |
True if the PClassAttribute is an enum.
Definition at line 57 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getIsEnum(), getIsEnum(), initialisationPClassAttribute(), and setIsEnum().
|
private |
true if is a pointer
Definition at line 51 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getIsPointer(), getIsPointer(), initialisationPClassAttribute(), and setIsPointer().
|
private |
True if it is a reference.
Definition at line 53 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getIsReference(), getIsReference(), initialisationPClassAttribute(), and setIsReference().
|
private |
Name of the attribute.
Definition at line 47 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getName(), getName(), initialisationPClassAttribute(), and setName().
|
private |
Type of the attribute.
Definition at line 45 of file PClassAttribute.h.
Referenced by copyPClassAttribute(), getType(), getType(), initialisationPClassAttribute(), and setType().