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 >:
Inheritance graph
[legend]

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

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

Detailed Description

template<class T, class S>
struct librealsense::json_struct_field< T, S >

Definition at line 127 of file json_loader.hpp.

Member Function Documentation

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

Implements librealsense::json_field.

Reimplemented in librealsense::json_invert_struct_field< T, S >.

Definition at line 134 of file json_loader.hpp.

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

Implements librealsense::json_field.

Reimplemented in librealsense::json_invert_struct_field< T, S >.

Definition at line 141 of file json_loader.hpp.

Member Data Documentation

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

Definition at line 132 of file json_loader.hpp.

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

Definition at line 130 of file json_loader.hpp.

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

Definition at line 131 of file json_loader.hpp.

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

Definition at line 129 of file json_loader.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37