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 | |
namespace | 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. | |
template<typename T > | |
bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, T *Value) |
Converts a string to an T property. | |
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. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CIntegerPolyRef *Value) |
Converts a string to a CIntegerPolyRef. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CBooleanPolyRef *Value) |
Converts a string to a CBooleanPolyRef. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CFloatPolyRef *Value) |
Converts a string to a CFloatPolyRef. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, CStringPolyRef *Value) |
Converts a string to a CStringPolyRef. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, GUID *Value) |
Converts a string to a GUID property. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, uint8_t *pValue, int64_t len) |
Converts a string to a byte array. | |
GENAPI_DECL bool | GENAPI_NAMESPACE::String2Value (const GENICAM_NAMESPACE::gcstring &ValueStr, bool *pValue) |
Converts a string to a bool value. | |
template<typename T > | |
void | GENAPI_NAMESPACE::Value2String (T Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts an T property to a string. | |
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. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CIntegerPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CIntegerPolyRef to a string. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CBooleanPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CBooleanPolyRef to a string. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CFloatPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CFloatPolyRef to a string. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (CStringPolyRef Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a CStringPolyRef to a string. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (const GUID &Value, GENICAM_NAMESPACE::gcstring &ValueStr) |
Converts a GUID property tp a string. | |
GENAPI_DECL void | GENAPI_NAMESPACE::Value2String (uint8_t *pValue, GENICAM_NAMESPACE::gcstring &ValueStr, int64_t len) |
Converts a byte array property to a string. | |
template<typename T > | |
void | GENAPI_NAMESPACE::Values2String (const T &Values, GENICAM_NAMESPACE::gcstring &ValueStr) |
Dump a value container into a string. |
Definition of value2string and string2value functions.
Definition in file Value2String.h.