libyang 1.0.184
YANG data modeling language library
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()

Attr ( struct lyd_attr attr,
S_Deleter  deleter = nullptr 
)

wrapper for struct lyd_attr, for internal use only

Definition at line 596 of file Tree_Data.cpp.

◆ ~Attr()

~Attr ( )

Definition at line 600 of file Tree_Data.cpp.

Member Function Documentation

◆ parent()

S_Data_Node parent ( )
inline

get parent variable from lyd_attr

Definition at line 298 of file Tree_Data.hpp.

◆ next()

S_Attr next ( )

get next variable from lyd_attr

Definition at line 605 of file Tree_Data.cpp.

◆ name()

const char * name ( )
inline

get name variable from lyd_attr

Definition at line 303 of file Tree_Data.hpp.

◆ value_str()

const char * value_str ( )
inline

get value_str variable from lyd_attr

Definition at line 305 of file Tree_Data.hpp.

◆ value()

S_Value value ( )

get value variable from lyd_attr

Definition at line 601 of file Tree_Data.cpp.

◆ value_type()

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: