Definition of value2string and string2value functions. More...
#include <sstream>
#include <cctype>
#include <iomanip>
#include "Base/GCBase.h"
#include "../GenApiDll.h"
#include "PolyReference.h"
#include "Internal_Compatibility.h"
Go to the source code of this file.
Namespaces | |
GENAPI_NAMESPACE | |
Part of the generic device API. | |
Functions | |
char | GENAPI_NAMESPACE::Hex2Byte (uint8_t Hex) |
Converts an ASCII hex digit to a char value. More... | |
template<typename T > | |
bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, T *Value) |
Converts a string to an T property. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const char *ValueStr, int64_t *Value, ERepresentation Representation=PureNumber) |
Converts a string to an int64_t property taking representation hints. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CIntegerPolyRef *Value) |
Converts a string to a CIntegerPolyRef. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CBooleanPolyRef *Value) |
Converts a string to a CBooleanPolyRef. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CFloatPolyRef *Value) |
Converts a string to a CFloatPolyRef. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CStringPolyRef *Value) |
Converts a string to a CStringPolyRef. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, GUID *Value) |
Converts a string to a GUID property. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, uint8_t *pValue, int64_t len) |
Converts a string to a byte array. More... | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, bool *pValue) |
Converts a string to a bool value. More... | |
template<typename T > | |
void | GENAPI_NAMESPACE::Value2String (T Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts an T property to a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (int64_t Value, GENICAM_NAMESPACE::gcstring &ValueStr, ERepresentation Representation=PureNumber) |
Converts an int64_t property to a string taking representation hints. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CIntegerPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CIntegerPolyRef to a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CBooleanPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CBooleanPolyRef to a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CFloatPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CFloatPolyRef to a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CStringPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CStringPolyRef to a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (const GUID &Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a GUID property tp a string. More... | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (uint8_t *pValue, GENICAM_NAMESPACE::gcstring &ValueStr, int64_t len) |
Converts a byte array property to a string. More... | |
template<typename T > | |
void | GENAPI_NAMESPACE::Values2String (const T &Values, GENICAM_NAMESPACE::gcstring &ValueStr) |
Dump a value container into a string. More... | |
Definition of value2string and string2value functions.
Definition in file Value2String.h.