10 #ifndef _EMBEDDED_RPC__LISTTYPE_H_ 11 #define _EMBEDDED_RPC__LISTTYPE_H_ 13 #include "DataType.hpp" 102 #endif // _EMBEDDED_RPC__LISTTYPE_H_ bool hasLengthVariable()
This function returns information if object contains length variable.
Definition: ListType.hpp:93
Variable length list of another data type.
Definition: ListType.hpp:26
DataType * getElementType() const
This function returns element data type.
Definition: ListType.hpp:48
virtual std::string getDescription() const override
This function returns description about the list.
Definition: Type.cpp:270
DataType * m_elementType
Definition: ListType.hpp:96
Base class for data types.
Definition: DataType.hpp:26
ListType(DataType *elementType)
Constructor.
Definition: ListType.hpp:36
void setLengthVariableName(const std::string &lengthVariableName)
This function set variable name. This variable is used in generated file to store size of list...
Definition: ListType.hpp:78
void setElementType(DataType *elementType)
This function set element data type.
Definition: ListType.hpp:55
std::string m_lengthVariableName
Definition: ListType.hpp:97
std::string & getLengthVariableName()
This function returns variable name. This variable is used in generated file to store size of list...
Definition: ListType.hpp:85
Definition: AstNode.hpp:26