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

class for wrapping lyd_val. More...

#include <Tree_Data.hpp>

Public Member Functions

 Value (lyd_val value, LY_DATA_TYPE *value_type, uint8_t value_flags, struct lys_type *type, S_Deleter deleter)
 
 ~Value ()
 
const char * binary ()
 
std::vector< S_Type_Bit > bit ()
 
bool bln ()
 
Decimal64 dec64 ()
 
S_Type_Enum enm ()
 
S_Ident ident ()
 
S_Data_Node instance ()
 
int8_t int8 ()
 
int16_t int16 ()
 
int32_t int32 ()
 
int64_t int64 ()
 
S_Data_Node leafref ()
 
const char * string ()
 
uint8_t uint8 ()
 
uint16_t uint16 ()
 
uint32_t uint32 ()
 
uint64_t uint64 ()
 

Detailed Description

class for wrapping lyd_val.

Definition at line 50 of file Tree_Data.hpp.

Constructor & Destructor Documentation

Value ( lyd_val  value,
LY_DATA_TYPE value_type,
uint8_t  value_flags,
struct lys_type type,
S_Deleter  deleter 
)

wrapper for struct lyd_val, for internal use only

Definition at line 33 of file Tree_Data.cpp.

~Value ( )

Definition at line 40 of file Tree_Data.cpp.

Member Function Documentation

const char* binary ( )
inline

get binary variable from lyd_val

Definition at line 57 of file Tree_Data.hpp.

std::vector< S_Type_Bit > bit ( )

get bit variable from lyd_val

Definition at line 41 of file Tree_Data.cpp.

bool bln ( )
inline

get bln variable from lyd_val

Definition at line 61 of file Tree_Data.hpp.

Decimal64 dec64 ( )
inline

get dec64 variable from lyd_val

Definition at line 63 of file Tree_Data.hpp.

S_Type_Enum enm ( )
inline

get enm variable from lyd_val

Definition at line 65 of file Tree_Data.hpp.

S_Ident ident ( )
inline

get ident variable from lyd_val

Definition at line 67 of file Tree_Data.hpp.

S_Data_Node instance ( )

get instance variable from lyd_val

Definition at line 60 of file Tree_Data.cpp.

int8_t int8 ( )
inline

get int8 variable from lyd_val

Definition at line 71 of file Tree_Data.hpp.

int16_t int16 ( )
inline

get int16 variable from lyd_val

Definition at line 73 of file Tree_Data.hpp.

int32_t int32 ( )
inline

get int32 variable from lyd_val

Definition at line 75 of file Tree_Data.hpp.

int64_t int64 ( )
inline

get int64 variable from lyd_val

Definition at line 77 of file Tree_Data.hpp.

S_Data_Node leafref ( )

get leafref variable from lyd_val

Definition at line 66 of file Tree_Data.cpp.

const char* string ( )
inline

get string variable from lyd_val

Definition at line 81 of file Tree_Data.hpp.

uint8_t uint8 ( )
inline

get uint8 variable from lyd_val

Definition at line 83 of file Tree_Data.hpp.

uint16_t uint16 ( )
inline

get uint16 variable from lyd_val

Definition at line 85 of file Tree_Data.hpp.

uint32_t uint32 ( )
inline

get uint32 variable from lyd_val

Definition at line 87 of file Tree_Data.hpp.

uint64_t uint64 ( )
inline

get uint64 variable from lyd_val

Definition at line 89 of file Tree_Data.hpp.


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