Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | Public Attributes | List of all members
librealsense::json_struct_field< T, S > Struct Template Reference

#include <json_loader.hpp>

Inheritance diagram for librealsense::json_struct_field< T, S >:
librealsense::json_field librealsense::json_invert_struct_field< T, S >

Public Member Functions

void load (const std::string &str) override
 
std::string save () const override
 
- Public Member Functions inherited from librealsense::json_field
virtual ~json_field ()=default
 

Public Attributes

T * strct
 
S T::group_type::* field
 
float scale = 1.0f
 
bool check_ranges = true
 
- Public Attributes inherited from librealsense::json_field
bool was_set = false
 
bool is_duplicated = false
 

Member Function Documentation

◆ load()

template<class T , class S >
void librealsense::json_struct_field< T, S >::load ( const std::string &  str)
inlineoverridevirtual

◆ save()

template<class T , class S >
std::string librealsense::json_struct_field< T, S >::save ( ) const
inlineoverridevirtual

Member Data Documentation

◆ check_ranges

template<class T , class S >
bool librealsense::json_struct_field< T, S >::check_ranges = true

◆ field

template<class T , class S >
S T::group_type::* librealsense::json_struct_field< T, S >::field

◆ scale

template<class T , class S >
float librealsense::json_struct_field< T, S >::scale = 1.0f

◆ strct

template<class T , class S >
T* librealsense::json_struct_field< T, S >::strct

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