7 #ifndef __PCLASSATTRIBUTE_H__
8 #define __PCLASSATTRIBUTE_H__
Describes a class attribute.
PClassAttribute & operator=(const PClassAttribute &other)
Operator = of class PClassAttribute.
bool p_isPointer
true if is a pointer
const PString & getDocumentation() const
Gets the documentation of the PClassAttribute.
void setType(const PString &type)
Sets the type of the PClassAttribute.
PString p_defaultValue
Default value of the attribute.
PString p_documentation
Documentation string.
PClassAttribute()
Constructor of class PClassAttribute.
PString p_name
Name of the attribute.
virtual ~PClassAttribute()
Destructor 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 initialisationPClassAttribute()
Initialisation Function of class PClassAttribute.
void copyPClassAttribute(const PClassAttribute &other)
Copy Function of class PClassAttribute.
void setIsPointer(bool isPointer)
Sets the isPointer of the PClassAttribute.
PString p_type
Type of the attribute.
const PString & getDefaultValue() const
Gets the defaultValue of the PClassAttribute.
const PString & getType() const
Gets the type of the PClassAttribute.
void setName(const PString &name)
Sets the name of the PClassAttribute.
void setIsEnum(bool isEnum)
Sets the isEnum of the PClassAttribute.
bool getIsEnum() const
Gets the isEnum of the PClassAttribute.
const PString & getName() const
Gets the name of the PClassAttribute.
bool getIsReference() const
Gets the isReference of the PClassAttribute.
void setIsReference(bool isReference)
Sets the isReference of the PClassAttribute.
bool p_isEnum
True if the PClassAttribute is an enum.
bool p_isReference
True if it is a reference.
bool getIsPointer() const
Gets the isPointer of the PClassAttribute.