7 #include <iolink/IOLinkAPI.h>
8 #include <iolink/VariantDataValue.h>
25 static std::shared_ptr<VariantDataValue> create(uint8_t value);
26 static std::shared_ptr<VariantDataValue> create(uint16_t value);
27 static std::shared_ptr<VariantDataValue> create(uint32_t value);
28 static std::shared_ptr<VariantDataValue> create(uint64_t value);
30 static std::shared_ptr<VariantDataValue> create(int8_t value);
31 static std::shared_ptr<VariantDataValue> create(int16_t value);
32 static std::shared_ptr<VariantDataValue> create(int32_t value);
33 static std::shared_ptr<VariantDataValue> create(int64_t value);
35 static std::shared_ptr<VariantDataValue> create(
float value);
36 static std::shared_ptr<VariantDataValue> create(
double value);
38 static std::shared_ptr<VariantDataValue> create(
const char* value);
39 static std::shared_ptr<VariantDataValue> create(
const std::string& value);
43 static std::shared_ptr<VariantDataValue> create(
const uint8_t* values,
size_t count);
44 static std::shared_ptr<VariantDataValue> create(
const uint16_t* values,
size_t count);
45 static std::shared_ptr<VariantDataValue> create(
const uint32_t* values,
size_t count);
46 static std::shared_ptr<VariantDataValue> create(
const uint64_t* values,
size_t count);
48 static std::shared_ptr<VariantDataValue> create(
const int8_t* values,
size_t count);
49 static std::shared_ptr<VariantDataValue> create(
const int16_t* values,
size_t count);
50 static std::shared_ptr<VariantDataValue> create(
const int32_t* values,
size_t count);
51 static std::shared_ptr<VariantDataValue> create(
const int64_t* values,
size_t count);
53 static std::shared_ptr<VariantDataValue> create(
const float* values,
size_t count);
54 static std::shared_ptr<VariantDataValue> create(
const double* values,
size_t count);
56 static std::shared_ptr<VariantDataValue> create(
const char** values,
size_t count);