sysrepo  1.4.70
YANG datastore
Data Class Reference

Class for wrapping sr_data_t. More...

#include <Struct.hpp>

Public Member Functions

 Data (sr_data_t data, sr_type_t type, S_Deleter deleter)
 
 ~Data ()
 
char * get_binary () const
 
char * get_bits () const
 
bool get_bool () const
 
double get_decimal64 () const
 
char * get_enum () const
 
char * get_identityref () const
 
char * get_instanceid () const
 
int8_t get_int8 () const
 
int16_t get_int16 () const
 
int32_t get_int32 () const
 
int64_t get_int64 () const
 
char * get_string () const
 
uint8_t get_uint8 () const
 
uint16_t get_uint16 () const
 
uint32_t get_uint32 () const
 
uint64_t get_uint64 () const
 

Detailed Description

Class for wrapping sr_data_t.

Definition at line 46 of file Struct.hpp.

Constructor & Destructor Documentation

◆ Data()

Data ( sr_data_t  data,
sr_type_t  type,
S_Deleter  deleter 
)

Wrapper for sr_data_t, for internal use only.

◆ ~Data()

~Data ( )

Member Function Documentation

◆ get_binary()

char* get_binary ( ) const

Getter for binary data.

◆ get_bits()

char* get_bits ( ) const

Getter for bits.

◆ get_bool()

bool get_bool ( ) const

Getter for bool.

◆ get_decimal64()

double get_decimal64 ( ) const

Getter for decimal64.

◆ get_enum()

char* get_enum ( ) const

Getter for enum.

◆ get_identityref()

char* get_identityref ( ) const

Getter for identityref.

◆ get_instanceid()

char* get_instanceid ( ) const

Getter for instanceid.

◆ get_int8()

int8_t get_int8 ( ) const

Getter for int8.

◆ get_int16()

int16_t get_int16 ( ) const

Getter for int16.

◆ get_int32()

int32_t get_int32 ( ) const

Getter for int32.

◆ get_int64()

int64_t get_int64 ( ) const

Getter for int64.

◆ get_string()

char* get_string ( ) const

Getter for string.

◆ get_uint8()

uint8_t get_uint8 ( ) const

Getter for uint8.

◆ get_uint16()

uint16_t get_uint16 ( ) const

Getter for uint16.

◆ get_uint32()

uint32_t get_uint32 ( ) const

Getter for uint32.

◆ get_uint64()

uint64_t get_uint64 ( ) const

Getter for uint64.


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