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


Public Member Functions | |
| t_sandesh (t_program *program) | |
| t_sandesh (t_program *program, const std::string &name) | |
| virtual std::string | get_struct_type_name () |
| virtual bool | is_sandesh () const |
| void | set_type (t_type *type) |
| bool | exist_opt_field () |
| const t_type * | get_type () |
| bool | is_level_category_supported () const |
| virtual bool | has_key_annotation () const |
Public Member Functions inherited from t_struct_common | |
| virtual | ~t_struct_common () |
| const members_type & | get_members () |
| const members_type & | get_sorted_members () |
| bool | append (t_field *elem) |
| virtual std::string | get_fingerprint_material () const |
| virtual void | generate_fingerprint () |
Public Member Functions inherited from t_type | |
| virtual | ~t_type () |
| virtual void | set_name (const std::string &name) |
| virtual const std::string & | get_name () const |
| virtual bool | is_void () const |
| virtual bool | is_base_type () const |
| virtual bool | is_string () const |
| virtual bool | is_bool () const |
| virtual bool | is_typedef () const |
| virtual bool | is_enum () const |
| virtual bool | is_struct () const |
| virtual bool | is_xception () const |
| virtual bool | is_container () const |
| virtual bool | is_list () const |
| virtual bool | is_set () const |
| virtual bool | is_map () const |
| virtual bool | is_service () const |
| t_program * | get_program () |
| t_type * | get_true_type () |
| bool | has_fingerprint () const |
| const uint8_t * | get_binary_fingerprint () const |
| std::string | get_ascii_fingerprint () const |
| const uint32_t | get_4byte_fingerprint () 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 () |
Private Attributes | |
| t_type * | type_ |
Additional Inherited Members | |
Public Types inherited from t_struct_common | |
| typedef std::vector< t_field * > | members_type |
Static Public Member Functions inherited from t_type | |
| static char | nybble_to_xdigit (int num) |
| static std::string | byte_to_hex (uint8_t byte) |
Public Attributes inherited from t_type | |
| std::map< std::string, std::string > | annotations_ |
Static Public Attributes inherited from t_type | |
| static const int | fingerprint_len = 16 |
Protected Member Functions inherited from t_struct_common | |
| t_struct_common (t_program *program) | |
| t_struct_common (t_program *program, const std::string &name) | |
Protected Member Functions inherited from t_type | |
| t_type () | |
| t_type (t_program *program) | |
| t_type (t_program *program, std::string name) | |
| t_type (std::string name) | |
Protected Attributes inherited from t_struct_common | |
| members_type | members_ |
| members_type | members_in_id_order_ |
Protected Attributes inherited from t_type | |
| t_program * | program_ |
| std::string | name_ |
| uint8_t | fingerprint_ [fingerprint_len] |
A sandesh is a container for a set of member fields that has a name.
Definition at line 39 of file t_sandesh.h.
|
inline |
Definition at line 41 of file t_sandesh.h.
|
inline |
Definition at line 45 of file t_sandesh.h.
|
inline |
Definition at line 61 of file t_sandesh.h.
|
inlinevirtual |
Implements t_struct_common.
Definition at line 49 of file t_sandesh.h.
|
inline |
Definition at line 71 of file t_sandesh.h.
|
virtual |
|
inline |
Definition at line 75 of file t_sandesh.h.
|
inlinevirtual |
Definition at line 53 of file t_sandesh.h.
|
inline |
Definition at line 57 of file t_sandesh.h.
|
private |
Definition at line 84 of file t_sandesh.h.