sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
StringOrDouble Struct Reference

An auxiliary type used to store a string value, while the input can also be a double. More...

#include <StringOrDouble.hpp>

Collaboration diagram for StringOrDouble:
[legend]

Public Member Functions

 StringOrDouble ()
 Construct a default StringOrDouble object.
 
 StringOrDouble (double val)
 Construct a StringOrDouble object with given double.
 
 StringOrDouble (std::string val)
 Construct a StringOrDouble object with given string.
 
 StringOrDouble (const char *val)
 Construct a StringOrDouble object with given string.
 

Public Attributes

std::string value
 The stored value.
 

Detailed Description

An auxiliary type used to store a string value, while the input can also be a double.


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