Public Member Functions | Public Attributes | List of all members
librealsense::json_string_struct_field< T, S > Struct Template Reference

#include <json_loader.hpp>

Inheritance diagram for librealsense::json_string_struct_field< T, S >:
Inheritance graph
[legend]

Public Member Functions

 json_string_struct_field (std::map< std::string, float > values)
 
void load (const std::string &value) override
 
std::string save () const override
 
- Public Member Functions inherited from librealsense::json_field
virtual ~json_field ()=default
 

Public Attributes

std::map< std::string, float > _values
 
S T::group_type::* field
 
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_string_struct_field< T, S >

Definition at line 161 of file json_loader.hpp.

Constructor & Destructor Documentation

template<class T , class S >
librealsense::json_string_struct_field< T, S >::json_string_struct_field ( std::map< std::string, float >  values)
inline

Definition at line 163 of file json_loader.hpp.

Member Function Documentation

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

Implements librealsense::json_field.

Definition at line 171 of file json_loader.hpp.

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

Implements librealsense::json_field.

Definition at line 177 of file json_loader.hpp.

Member Data Documentation

template<class T , class S >
std::map<std::string, float> librealsense::json_string_struct_field< T, S >::_values

Definition at line 169 of file json_loader.hpp.

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

Definition at line 167 of file json_loader.hpp.

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

Definition at line 166 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