libyang  1.0.253
YANG data modeling language library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Data_Node_Anydata Class Reference

class for wrapping lyd_node_anydata. More...

#include <Tree_Data.hpp>

Inheritance diagram for Data_Node_Anydata:

Public Member Functions

 Data_Node_Anydata (S_Data_Node derived)
 
 Data_Node_Anydata (struct lyd_node *node, S_Deleter deleter=nullptr)
 
 ~Data_Node_Anydata ()
 
LYD_ANYDATA_VALUETYPE value_type ()
 
lyd_anydata_value value ()
 
S_Data_Node child ()
 
- 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_nodeswig_node ()
 
S_Deleter swig_deleter ()
 
struct lyd_nodeC_lyd_node ()
 

Additional Inherited Members

- Data Fields inherited from Data_Node
friend Set
 
friend Data_Node_Anydata
 
friend Data_Node_Leaf_List
 

Detailed Description

class for wrapping lyd_node_anydata.

Definition at line 267 of file Tree_Data.hpp.

Constructor & Destructor Documentation

Data_Node_Anydata ( S_Data_Node  derived)

wrapper for Data_Node_Anydata

Definition at line 586 of file Tree_Data.cpp.

Data_Node_Anydata ( struct lyd_node node,
S_Deleter  deleter = nullptr 
)

wrapper for struct lyd_node, for internal use only

Definition at line 595 of file Tree_Data.cpp.

Definition at line 600 of file Tree_Data.cpp.

Member Function Documentation

LYD_ANYDATA_VALUETYPE value_type ( )
inline

get value_type variable from lyd_node_anydata

Definition at line 276 of file Tree_Data.hpp.

lyd_anydata_value value ( )
inline

get value variable from lyd_node_anydata

Definition at line 278 of file Tree_Data.hpp.

S_Data_Node child ( )
inlinevirtual

get child variable from lyd_node_anydata

Reimplemented from Data_Node.

Definition at line 280 of file Tree_Data.hpp.


The documentation for this class was generated from the following files: