libyang
1.0.253
YANG data modeling language library
|
class for wrapping lyd_node_leaf_list. More...
#include <Tree_Data.hpp>
Public Member Functions | |
Data_Node_Leaf_List (S_Data_Node derived) | |
Data_Node_Leaf_List (struct lyd_node *node, S_Deleter deleter=nullptr) | |
~Data_Node_Leaf_List () | |
const char * | value_str () |
S_Value | value () |
LY_DATA_TYPE | value_type () |
S_Data_Node | child () |
int | change_leaf (const char *val_str) |
int | wd_default () |
S_Type | leaf_type () |
Public Member Functions inherited from Data_Node | |
Data_Node (struct lyd_node *node, S_Deleter deleter=nullptr) | |
Data_Node (S_Data_Node parent, S_Module module, const char *name) | |
Data_Node (S_Data_Node parent, S_Module module, const char *name, const char *val_str) | |
Data_Node (S_Data_Node parent, S_Module module, const char *name, const char *value, LYD_ANYDATA_VALUETYPE value_type) | |
Data_Node (S_Data_Node parent, S_Module module, const char *name, S_Data_Node value) | |
Data_Node (S_Data_Node parent, S_Module module, const char *name, S_Xml_Elem value) | |
Data_Node (S_Context context, const char *path, const char *value, LYD_ANYDATA_VALUETYPE value_type, int options) | |
Data_Node (S_Context context, const char *path, S_Data_Node value, int options) | |
Data_Node (S_Context context, const char *path, S_Xml_Elem value, int options) | |
virtual | ~Data_Node () |
S_Schema_Node | schema () |
uint8_t | validity () |
uint8_t | dflt () |
uint8_t | when_status () |
S_Attr | attr () |
S_Data_Node | next () |
S_Data_Node | prev () |
S_Data_Node | parent () |
std::string | path () |
S_Data_Node | dup (int recursive) |
S_Data_Node | dup_withsiblings (int recursive) |
S_Data_Node | dup_to_ctx (int recursive, S_Context context) |
int | merge (S_Data_Node source, int options) |
int | merge_to_ctx (S_Data_Node source, int options, S_Context context) |
int | insert (S_Data_Node new_node) |
int | insert_sibling (S_Data_Node new_node) |
int | insert_before (S_Data_Node new_node) |
int | insert_after (S_Data_Node new_node) |
int | schema_sort (int recursive) |
S_Set | find_path (const char *expr) |
S_Set | find_instance (S_Schema_Node schema) |
S_Data_Node | first_sibling () |
int | validate (int options, S_Context var_arg) |
int | validate (int options, S_Data_Node var_arg) |
int | validate_value (const char *value) |
S_Difflist | diff (S_Data_Node second, int options) |
S_Data_Node | new_path (S_Context ctx, const char *path, const char *value, LYD_ANYDATA_VALUETYPE value_type, int options) |
S_Data_Node | new_path (S_Context ctx, const char *path, S_Data_Node value, int options) |
S_Data_Node | new_path (S_Context ctx, const char *path, S_Xml_Elem value, int options) |
unsigned int | list_pos () |
int | unlink () |
S_Attr | insert_attr (S_Module module, const char *name, const char *value) |
S_Module | node_module () |
std::string | print_mem (LYD_FORMAT format, int options) |
std::vector< S_Data_Node > | tree_for () |
std::vector< S_Data_Node > | tree_dfs () |
struct lyd_node * | swig_node () |
S_Deleter | swig_deleter () |
struct lyd_node * | C_lyd_node () |
Additional Inherited Members | |
Data Fields inherited from Data_Node | |
friend | Set |
friend | Data_Node_Anydata |
friend | Data_Node_Leaf_List |
class for wrapping lyd_node_leaf_list.
Definition at line 233 of file Tree_Data.hpp.
Data_Node_Leaf_List | ( | S_Data_Node | derived | ) |
wrapper for Data_Node_Leaf_List
Definition at line 547 of file Tree_Data.cpp.
Data_Node_Leaf_List | ( | struct lyd_node * | node, |
S_Deleter | deleter = nullptr |
||
) |
wrapper for struct lyd_node, for internal use only
Definition at line 556 of file Tree_Data.cpp.
~Data_Node_Leaf_List | ( | ) |
Definition at line 561 of file Tree_Data.cpp.
|
inline |
get value_str variable from lyd_node_leaf_list
Definition at line 242 of file Tree_Data.hpp.
S_Value value | ( | ) |
get value variable from lyd_node_leaf_list
Definition at line 562 of file Tree_Data.cpp.
|
inline |
get value_type variable from lyd_node_leaf_list
Definition at line 246 of file Tree_Data.hpp.
|
inlinevirtual |
get child variable from lyd_node_leaf_list
Reimplemented from Data_Node.
Definition at line 248 of file Tree_Data.hpp.
int change_leaf | ( | const char * | val_str | ) |
wrapper for lyd_change_leaf
Definition at line 567 of file Tree_Data.cpp.
int wd_default | ( | ) |
wrapper for lyd_wd_default
Definition at line 574 of file Tree_Data.cpp.
S_Type leaf_type | ( | ) |
wrapper for lyd_leaf_type
Definition at line 577 of file Tree_Data.cpp.