JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
ParameterStringConversion.H File Reference
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include <opencv2/core/core.hpp>
#include <imgui.h>
#include <jevois/Component/details/ParameterStringConversionImpl.H>
Include dependency graph for ParameterStringConversion.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jevois
 

Functions

template<typename T >
void jevois::paramValToString (T const &val, std::string &result)
 Machine-readable conversion of T to a string, for use in jevois::Parameter. More...
 
template<>
void jevois::paramValToString< unsigned char > (unsigned char const &val, std::string &result)
 Machine-readable conversion of T to a string, specialization to convert unsigned char to number, not character. More...
 
template<typename T >
void jevois::paramStringToVal (std::string const &valstring, T &result)
 Machine-readable conversion from string to T, for use in jevois::Parameter. More...
 
template<typename Q >
void jevois::paramValToString (std::vector< Q > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs [Element1, Element2, ...]. More...
 
template<typename Q >
void jevois::paramStringToVal (std::string const &valstring, std::vector< Q > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads [Element1, Element2, ...]. More...
 
template<typename F , typename S >
void jevois::paramValToString (std::pair< F, S > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs first second. More...
 
template<typename F , typename S >
void jevois::paramStringToVal (std::string const &valstring, std::pair< F, S > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads first second. More...
 
template<typename T >
void jevois::paramValToString (cv::Point_< T > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs x y. More...
 
template<typename T >
void jevois::paramStringToVal (std::string const &valstring, cv::Point_< T > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads x y. More...
 
template<typename T >
void jevois::paramValToString (cv::Size_< T > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs width height. More...
 
template<typename T >
void jevois::paramStringToVal (std::string const &valstring, cv::Size_< T > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads width height. More...
 
template<typename T >
void jevois::paramValToString (cv::Scalar_< T > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs r g b a. More...
 
template<typename T >
void jevois::paramStringToVal (std::string const &valstring, cv::Scalar_< T > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads r g b a or subsets. More...
 
template<>
void jevois::paramValToString< ImColor > (ImColor const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs R G B A, each 0..255. More...
 
template<>
void jevois::paramStringToVal< ImColor > (std::string const &valstring, ImColor &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads R G B A, each 0..255. More...
 
template<typename K , typename V >
void jevois::paramValToString (std::map< K, V > const &val, std::string &result)
 Machine-readable output to a string, for use in jevois::Parameter: outputs [Key1:Value1, Key2:Value2, ...]. More...
 
template<typename K , typename V >
void jevois::paramStringToVal (std::string const &valstring, std::map< K, V > &result)
 Machine-readable input from a string, for use in jevois::Parameter: reads [Key1:Value1, Key2:Value2, ...]. More...
 
template<>
void jevois::paramValToString< bool > (bool const &val, std::string &result)
 Machine-readable conversion of bool to a string, for use in jevois::Parameter. More...
 
template<>
void jevois::paramStringToVal< bool > (std::string const &valstring, bool &result)
 Machine-readable conversion from string to bool, for use in jevois::Parameter. More...
 
template<>
void jevois::paramValToString< std::string > (std::string const &val, std::string &result)
 Machine-readable conversion of string to a string, for use in jevois::Parameter. More...
 
template<>
void jevois::paramStringToVal< std::string > (std::string const &valstring, std::string &result)
 Machine-readable conversion from string to string, for use in jevois::Parameter. More...