libiio  1.0
Library for interfacing with IIO devices
iiopp::Attr Class Reference

C++ wrapper for the Attributes C-API. More...

#include <bindings/cpp/iiopp.h>

Public Member Functions

 Attr (iio_attr const *attr)
 
 operator iio_attr const * () const
 
cstr name ()
 
cstr filename ()
 
cstr static_value ()
 
size_t read_raw (char *dst, size_t size) const
 
bool read_bool () const
 
double read_double () const
 
long long read_longlong () const
 
size_t write_raw (void const *src, size_t len)
 
size_t write_string (cstr val)
 
void write_bool (bool val)
 
void write_double (double val)
 
void write_longlong (long long val)
 
 operator bool () const
 
 operator double () const
 
 operator long long () const
 
cstr operator= (cstr val)
 
bool operator= (bool val)
 
double operator= (double val)
 
long long operator= (long long val)
 

Detailed Description

C++ wrapper for the Attributes C-API.


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