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

#include <Tree_Schema.hpp>

Inheritance diagram for Schema_Node:

Public Member Functions

 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 child ()
 
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 ()
 

Data Fields

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 526 of file Tree_Schema.hpp.

Constructor & Destructor Documentation

Schema_Node ( lys_node node,
S_Deleter  deleter 
)

wrapper for struct lys_node, for internal use only

Definition at line 244 of file Tree_Schema.cpp.

~Schema_Node ( )
virtual

Definition at line 248 of file Tree_Schema.cpp.

Member Function Documentation

const char* name ( )
inline

get name variable from lys_node

Definition at line 533 of file Tree_Schema.hpp.

const char* dsc ( )
inline

get dsc variable from lys_node

Definition at line 535 of file Tree_Schema.hpp.

const char* ref ( )
inline

get ref variable from lys_node

Definition at line 537 of file Tree_Schema.hpp.

uint16_t flags ( )
inline

get flags variable from lys_node

Definition at line 539 of file Tree_Schema.hpp.

uint8_t ext_size ( )
inline

get ext_size variable from lys_node

Definition at line 541 of file Tree_Schema.hpp.

uint8_t iffeature_size ( )
inline

get iffeature_size variable from lys_node

Definition at line 543 of file Tree_Schema.hpp.

std::vector< S_Ext_Instance > ext ( )

get ext variable from lys_node

Definition at line 249 of file Tree_Schema.cpp.

std::vector<S_Iffeature> iffeature ( )
inline

get iffeature variable from lys_node

Definition at line 547 of file Tree_Schema.hpp.

S_Module module ( )

get module variable from lys_node

Definition at line 250 of file Tree_Schema.cpp.

LYS_NODE nodetype ( )
inline

get nodetype variable from lys_node

Definition at line 551 of file Tree_Schema.hpp.

S_Schema_Node parent ( )
virtual

get parent variable from lys_node

Definition at line 251 of file Tree_Schema.cpp.

S_Schema_Node child ( )
virtual

get child variable from lys_node

Reimplemented in Schema_Node_Leaflist, and Schema_Node_Leaf.

Definition at line 252 of file Tree_Schema.cpp.

S_Schema_Node next ( )
virtual

get next variable from lys_node

Definition at line 253 of file Tree_Schema.cpp.

S_Schema_Node prev ( )
virtual

get prev variable from lys_node

Definition at line 254 of file Tree_Schema.cpp.

std::string path ( int  options = 0)

wrapper for lys_path

Definition at line 255 of file Tree_Schema.cpp.

int validate_value ( const char *  value)
inline

wrapper for lyd_validate_value

Definition at line 564 of file Tree_Schema.hpp.

std::vector< S_Schema_Node > child_instantiables ( int  options)

wrapper for lys_getnext

Definition at line 267 of file Tree_Schema.cpp.

S_Set find_path ( const char *  path)

wrapper for lys_find_path

Definition at line 277 of file Tree_Schema.cpp.

S_Set xpath_atomize ( enum lyxp_node_type  ctx_node_type,
const char *  expr,
int  options 
)

wrapper for lys_xpath_atomize

Definition at line 288 of file Tree_Schema.cpp.

S_Set xpath_atomize ( int  options)

wrapper for lys_xpath_atomize

Definition at line 297 of file Tree_Schema.cpp.

std::vector< S_Schema_Node > tree_for ( )

wrapper for macro LY_TREE_FOR

Definition at line 306 of file Tree_Schema.cpp.

std::vector< S_Schema_Node > tree_dfs ( )

wrapper for macro LY_TREE_DFS_BEGIN and LY_TREE_DFS_END

Definition at line 316 of file Tree_Schema.cpp.

struct lys_node* swig_node ( )
inline

Definition at line 582 of file Tree_Schema.hpp.

S_Deleter swig_deleter ( )
inline

Definition at line 583 of file Tree_Schema.hpp.

Field Documentation

friend Set

Definition at line 583 of file Tree_Schema.hpp.

friend Data_Node

Definition at line 586 of file Tree_Schema.hpp.

friend Context

Definition at line 587 of file Tree_Schema.hpp.

Definition at line 588 of file Tree_Schema.hpp.

Definition at line 589 of file Tree_Schema.hpp.

Definition at line 590 of file Tree_Schema.hpp.

Definition at line 591 of file Tree_Schema.hpp.

Definition at line 592 of file Tree_Schema.hpp.

Definition at line 593 of file Tree_Schema.hpp.

Definition at line 594 of file Tree_Schema.hpp.

Definition at line 595 of file Tree_Schema.hpp.

Definition at line 596 of file Tree_Schema.hpp.

Definition at line 597 of file Tree_Schema.hpp.

Definition at line 598 of file Tree_Schema.hpp.

friend Schema_Node_Action

Definition at line 599 of file Tree_Schema.hpp.

Definition at line 600 of file Tree_Schema.hpp.

Definition at line 601 of file Tree_Schema.hpp.


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