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

class for wrapping lyd_attr. More...

#include <Tree_Data.hpp>

Public Member Functions

 Attr (struct lyd_attr *attr, S_Deleter deleter=nullptr)
 
 ~Attr ()
 
S_Data_Node parent ()
 
S_Attr next ()
 
const char * name ()
 
const char * value_str ()
 
S_Value value ()
 
LY_DATA_TYPE value_type ()
 

Detailed Description

class for wrapping lyd_attr.

Definition at line 291 of file Tree_Data.hpp.

Constructor & Destructor Documentation

Attr ( struct lyd_attr attr,
S_Deleter  deleter = nullptr 
)

wrapper for struct lyd_attr, for internal use only

Definition at line 602 of file Tree_Data.cpp.

~Attr ( )

Definition at line 606 of file Tree_Data.cpp.

Member Function Documentation

S_Data_Node parent ( )
inline

get parent variable from lyd_attr

Definition at line 298 of file Tree_Data.hpp.

S_Attr next ( )

get next variable from lyd_attr

Definition at line 611 of file Tree_Data.cpp.

const char* name ( )
inline

get name variable from lyd_attr

Definition at line 303 of file Tree_Data.hpp.

const char* value_str ( )
inline

get value_str variable from lyd_attr

Definition at line 305 of file Tree_Data.hpp.

S_Value value ( )

get value variable from lyd_attr

Definition at line 607 of file Tree_Data.cpp.

LY_DATA_TYPE value_type ( )
inline

get value_type variable from lyd_attr

Definition at line 309 of file Tree_Data.hpp.


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