OpenSDN source code
|
#include <t_function.h>
Public Member Functions | |
t_function (t_type *returntype, std::string name, t_struct *arglist, bool oneway=false) | |
t_function (t_type *returntype, std::string name, t_struct *arglist, t_struct *xceptions, bool oneway=false) | |
~t_function () | |
t_type * | get_returntype () const |
const std::string & | get_name () const |
t_struct * | get_arglist () const |
t_struct * | get_xceptions () const |
bool | is_oneway () const |
![]() | |
t_doc () | |
void | set_doc (const std::string &doc) |
const std::string & | get_doc () const |
bool | has_doc () |
Private Attributes | |
t_type * | returntype_ |
std::string | name_ |
t_struct * | arglist_ |
t_struct * | xceptions_ |
bool | oneway_ |
Representation of a function. Key parts are return type, function name, optional modifiers, and an argument list, which is implemented as a thrift struct.
Definition at line 34 of file t_function.h.
|
inline |
Definition at line 36 of file t_function.h.
|
inline |
Definition at line 85 of file t_function.h.
|
inline |
Definition at line 95 of file t_function.h.
|
inline |
Definition at line 91 of file t_function.h.
|
inline |
Definition at line 87 of file t_function.h.
|
inline |
Definition at line 99 of file t_function.h.
|
inline |
Definition at line 103 of file t_function.h.
|
private |
Definition at line 119 of file t_function.h.
|
private |
Definition at line 118 of file t_function.h.
|
private |
Definition at line 121 of file t_function.h.
|
private |
Definition at line 117 of file t_function.h.
|
private |
Definition at line 120 of file t_function.h.