![]() |
PhoenixGenerator
2.0.0
Set of tools to generate code
|
#include "PClassAttribute.h"
Go to the source code of this file.
Functions | |
PClassAttribute | createClassAttribute (const PString &type, const PString &name, const PString &documentation="") |
Creates a PClassAttribute. More... | |
PClassAttribute | createClassAttribute (const PString &typeName, const PString &name, bool isPointer, bool isReference, const PString &documentation) |
Create an attribute. More... | |
PClassAttribute createClassAttribute | ( | const PString & | type, |
const PString & | name, | ||
const PString & | documentation | ||
) |
Creates a PClassAttribute.
type | : type of the attribute |
name | : name of the attribute |
documentation | : documentation of the attribute |
Definition at line 15 of file class_attribute_utils.cpp.
References PClassAttribute::setDocumentation(), PClassAttribute::setName(), and PClassAttribute::setType().
Referenced by parseClassConfigAttribut(), and parseEnumValue().
PClassAttribute createClassAttribute | ( | const PString & | typeName, |
const PString & | name, | ||
bool | isPointer, | ||
bool | isReference, | ||
const PString & | documentation | ||
) |
Create an attribute.
typeName | : type of the attribute |
name | : name of the attribute |
isPointer | : true if the attribute is a pointer |
isReference | : true if the attribute is a reference |
documentation | : documentation of the attribute |
Definition at line 31 of file class_attribute_utils.cpp.
References PClassAttribute::setDocumentation(), PClassAttribute::setIsPointer(), PClassAttribute::setIsReference(), PClassAttribute::setName(), and PClassAttribute::setType().