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

#include <Tree_Schema.hpp>

Inheritance diagram for Schema_Node_Leaf:

Public Member Functions

 Schema_Node_Leaf (S_Schema_Node derived)
 
 Schema_Node_Leaf (struct lys_node *node, S_Deleter deleter)
 
 ~Schema_Node_Leaf ()
 
S_When when ()
 
S_Type type ()
 
const char * units ()
 
const char * dflt ()
 
S_Schema_Node child () override
 
S_Schema_Node_List is_key ()
 
- Public Member Functions inherited from Schema_Node
 Schema_Node (lys_node *node, S_Deleter deleter)
 
virtual ~Schema_Node ()
 
const char * name ()
 
const char * dsc ()
 
const char * ref ()
 
uint16_t flags ()
 
uint8_t ext_size ()
 
uint8_t iffeature_size ()
 
std::vector< S_Ext_Instance > ext ()
 
std::vector< S_Iffeature > iffeature ()
 
S_Module module ()
 
LYS_NODE nodetype ()
 
virtual S_Schema_Node parent ()
 
virtual S_Schema_Node next ()
 
virtual S_Schema_Node prev ()
 
std::string path (int options=0)
 
int validate_value (const char *value)
 
std::vector< S_Schema_Node > child_instantiables (int options)
 
S_Set find_path (const char *path)
 
S_Set xpath_atomize (enum lyxp_node_type ctx_node_type, const char *expr, int options)
 
S_Set xpath_atomize (int options)
 
std::vector< S_Schema_Node > tree_for ()
 
std::vector< S_Schema_Node > tree_dfs ()
 
struct lys_nodeswig_node ()
 
S_Deleter swig_deleter ()
 

Additional Inherited Members

- Data Fields inherited from Schema_Node
friend Set
 
friend Data_Node
 
friend Context
 
friend Schema_Node_Container
 
friend Schema_Node_Choice
 
friend Schema_Node_Leaf
 
friend Schema_Node_Leaflist
 
friend Schema_Node_List
 
friend Schema_Node_Anydata
 
friend Schema_Node_Uses
 
friend Schema_Node_Grp
 
friend Schema_Node_Case
 
friend Schema_Node_Inout
 
friend Schema_Node_Notif
 
friend Schema_Node_Action
 
friend Schema_Node_Augment
 
friend Schema_Node_Rpc_Action
 

Detailed Description

Definition at line 670 of file Tree_Schema.hpp.

Constructor & Destructor Documentation

Schema_Node_Leaf ( S_Schema_Node  derived)
inline

Definition at line 673 of file Tree_Schema.hpp.

Schema_Node_Leaf ( struct lys_node node,
S_Deleter  deleter 
)
inline

wrapper for struct lys_node_leaf, for internal use only

Definition at line 683 of file Tree_Schema.hpp.

Definition at line 346 of file Tree_Schema.cpp.

Member Function Documentation

S_When when ( )

get when variable from lys_node_leaf

Definition at line 347 of file Tree_Schema.cpp.

S_Type type ( )

get type variable from lys_node_leaf

Definition at line 348 of file Tree_Schema.cpp.

const char* units ( )
inline

get units variable from lys_node_leaf

Definition at line 694 of file Tree_Schema.hpp.

const char* dflt ( )
inline

get dflt variable from lys_node_leaf

Definition at line 696 of file Tree_Schema.hpp.

S_Schema_Node child ( )
inlineoverridevirtual

get child variable from lys_node

Reimplemented from Schema_Node.

Definition at line 697 of file Tree_Schema.hpp.

S_Schema_Node_List is_key ( )

wrapper for lys_is_key

Definition at line 349 of file Tree_Schema.cpp.


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