sysrepo  1.4.70
YANG datastore
Vals_Holder Class Reference

Class for wrapping sr_val_t in callbacks. More...

#include <Struct.hpp>

Public Member Functions

 Vals_Holder (sr_val_t **vals, size_t *cnt)
 
S_Vals allocate (size_t n)
 
S_Vals reallocate (size_t n)
 
size_t val_cnt (void)
 
S_Vals vals (void)
 
 ~Vals_Holder ()
 

Detailed Description

Class for wrapping sr_val_t in callbacks.

Definition at line 218 of file Struct.hpp.

Constructor & Destructor Documentation

◆ Vals_Holder()

Vals_Holder ( sr_val_t **  vals,
size_t *  cnt 
)

Wrapper for sr_val_t array, used only in callbacks.

◆ ~Vals_Holder()

Member Function Documentation

◆ allocate()

S_Vals allocate ( size_t  n)

Create sr_val_t array of n size.

◆ reallocate()

S_Vals reallocate ( size_t  n)

Resize sr_val_t array to n size.

◆ val_cnt()

size_t val_cnt ( void  )
inline

Definition at line 227 of file Struct.hpp.

◆ vals()

S_Vals vals ( void  )

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