Annotation class.
More...
#include <Annotation.hpp>
|
enum | program_lang_t {
kAll,
kC,
kPython,
kJava
} |
|
erpcgen::Annotation::Annotation |
( |
const Token & |
token, |
|
|
Value * |
val, |
|
|
program_lang_t |
lang |
|
) |
| |
|
inline |
Constructor.
This function initializes object attributes from given Token and Value.
- Parameters
-
[in] | token | Token contains annotation name and location in parsed file. |
[in] | val | Pointer to value. |
[in] | lang | Programming language for which is annotation intended. |
erpcgen::Annotation::Annotation |
( |
const Token & |
token | ) |
|
|
inlineexplicit |
Constructor.
This function initializes object attributes from given Token.
- Parameters
-
[in] | token | Token contains annotation name and location in parsed file. |
erpcgen::Annotation::Annotation |
( |
const Annotation & |
a | ) |
|
|
inlineexplicit |
Constructor.
This function initializes object attributes from given annotation.
- Parameters
-
program_lang_t erpcgen::Annotation::getLang |
( |
| ) |
const |
|
inline |
This function returns programming language type for which is annotation intended.
- Returns
- Programming language type.
This function returns location for symbol.
- Returns
- Return location for symbol.
std::string erpcgen::Annotation::getName |
( |
| ) |
const |
|
inline |
This function returns annotation name.
- Returns
- Annotation name.
Value * Annotation::getValueObject |
( |
| ) |
|
This function returns annotation value.
- Returns
- Pointer to annotation value.
- Exceptions
-
bool erpcgen::Annotation::hasValue |
( |
| ) |
|
|
inline |
Checks to see if value instance member is null.
- Return values
-
True | if m_value is not null |
std::string erpcgen::Annotation::toString |
( |
| ) |
|
|
inline |
This function returns toString representation.
- Returns
- Returns "name = value".
The documentation for this class was generated from the following files: