|
OpenSDN source code
|
#include <t_field.h>


Classes | |
| struct | key_compare |
Public Types | |
| enum | e_req { T_REQUIRED , T_OPTIONAL , T_OPT_IN_REQ_OUT } |
Public Member Functions | |
| t_field (t_type *type, std::string name) | |
| t_field (t_type *type, std::string name, int32_t key) | |
| virtual | ~t_field () |
| t_type * | get_type () const |
| const std::string & | get_name () const |
| int32_t | get_key () const |
| void | set_req (e_req req) |
| e_req | get_req () const |
| void | set_value (t_const_value *value) |
| t_const_value * | get_value () |
| void | set_xsd_optional (bool xsd_optional) |
| bool | get_xsd_optional () const |
| void | set_xsd_nillable (bool xsd_nillable) |
| bool | get_xsd_nillable () const |
| void | set_xsd_attrs (t_struct *xsd_attrs) |
| t_struct * | get_xsd_attrs () |
| std::string | get_fingerprint_material () const |
Public Member Functions inherited from t_doc | |
| t_doc () | |
| void | set_doc (const std::string &doc) |
| const std::string & | get_doc () const |
| bool | has_doc () |
Public Attributes | |
| std::map< std::string, std::string > | annotations_ |
Private Attributes | |
| t_type * | type_ |
| std::string | name_ |
| int32_t | key_ |
| e_req | req_ |
| t_const_value * | value_ |
| bool | xsd_optional_ |
| bool | xsd_nillable_ |
| t_struct * | xsd_attrs_ |
Class to represent a field in a thrift structure. A field has a data type, a symbolic name, and a numeric identifier.
| enum t_field::e_req |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |