Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Class for storing information about a single property in an entity in a table. More...
Public Member Functions | |
entity_property () | |
Initializes a new instance of the azure::storage::entity_property class. More... | |
entity_property (const std::vector< uint8_t > &value) | |
Initializes a new instance of the azure::storage::entity_property class with a byte array value. More... | |
entity_property (bool value) | |
Initializes a new instance of the azure::storage::entity_property class with a boolean value. More... | |
entity_property (utility::datetime value) | |
Initializes a new instance of the azure::storage::entity_property class with a date/time value. More... | |
entity_property (double value) | |
Initializes a new instance of the azure::storage::entity_property class with a double precision floating-point number value. More... | |
entity_property (const utility::uuid &value) | |
Initializes a new instance of the azure::storage::entity_property class with a GUID value. More... | |
entity_property (int32_t value) | |
Initializes a new instance of the azure::storage::entity_property class with a 32-bit integer value. More... | |
entity_property (int64_t value) | |
Initializes a new instance of the azure::storage::entity_property class with a 64-bit integer value. More... | |
entity_property (utility::string_t value) | |
Initializes a new instance of the azure::storage::entity_property class with a string value. More... | |
entity_property (const utility::char_t *value) | |
Initializes a new instance of the azure::storage::entity_property class with a string value. More... | |
azure::storage::edm_type | property_type () const |
Gets the property type of the azure::storage::entity_property object. More... | |
void | set_property_type (azure::storage::edm_type property_type) |
Sets the property type of the azure::storage::entity_property object. More... | |
bool | is_null () const |
Indicates whether the value is null. More... | |
void | set_is_null (bool value) |
Sets the value to null. More... | |
WASTORAGE_API std::vector< uint8_t > | binary_value () const |
Gets the byte array value of the azure::storage::entity_property object. More... | |
WASTORAGE_API bool | boolean_value () const |
Gets the boolean value of the azure::storage::entity_property object. More... | |
WASTORAGE_API utility::datetime | datetime_value () const |
Gets the datetime value of the azure::storage::entity_property object. More... | |
WASTORAGE_API double | double_value () const |
Gets the double-precision floating point value of the azure::storage::entity_property object. More... | |
WASTORAGE_API utility::uuid | guid_value () const |
Gets the GUID value of the azure::storage::entity_property object. More... | |
WASTORAGE_API int32_t | int32_value () const |
Gets the 32-bit integer value of the azure::storage::entity_property object. More... | |
WASTORAGE_API int64_t | int64_value () const |
Gets the 64-bit integer value of the azure::storage::entity_property object. More... | |
WASTORAGE_API utility::string_t | string_value () const |
Gets the string value of the azure::storage::entity_property object. More... | |
void | set_value (const std::vector< uint8_t > &value) |
Sets the byte array value of the azure::storage::entity_property object. More... | |
void | set_value (bool value) |
Sets the boolean value of the azure::storage::entity_property object. More... | |
void | set_value (utility::datetime value) |
Sets the datetime value of the azure::storage::entity_property object. More... | |
void | set_value (double value) |
Sets the double-precision floating point value of the azure::storage::entity_property object. More... | |
void | set_value (const utility::uuid &value) |
Sets the GUID value of the azure::storage::entity_property object. More... | |
void | set_value (int32_t value) |
Sets the 32-bit integer value of the azure::storage::entity_property object. More... | |
void | set_value (int64_t value) |
Sets the 64-bit integer value of the azure::storage::entity_property object. More... | |
void | set_value (utility::string_t value) |
Sets the string value of the azure::storage::entity_property object. More... | |
void | set_value (const utility::char_t *value) |
Sets the string value of the azure::storage::entity_property object. More... | |
const utility::string_t & | str () const |
Returns the value of the azure::storage::entity_property object as a string. More... | |
Class for storing information about a single property in an entity in a table.
|
inline |
Initializes a new instance of the azure::storage::entity_property class.
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a byte array value.
value | A byte array. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a boolean value.
value | A boolean value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a date/time value.
value | A datetime value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a double precision floating-point number value.
value | A double value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a GUID value.
value | A GUID value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a 32-bit integer value.
value | A 32-bit integer value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a 64-bit integer value.
value | A 64-bit integer value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a string value.
value | A string value. |
|
inline |
Initializes a new instance of the azure::storage::entity_property class with a string value.
value | A string value. |
WASTORAGE_API std::vector<uint8_t> azure::storage::entity_property::binary_value | ( | ) | const |
Gets the byte array value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a byte array.
WASTORAGE_API bool azure::storage::entity_property::boolean_value | ( | ) | const |
Gets the boolean value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a boolean value.
WASTORAGE_API utility::datetime azure::storage::entity_property::datetime_value | ( | ) | const |
Gets the datetime value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a datetime value.
WASTORAGE_API double azure::storage::entity_property::double_value | ( | ) | const |
Gets the double-precision floating point value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a double-precision floating point value.
WASTORAGE_API utility::uuid azure::storage::entity_property::guid_value | ( | ) | const |
Gets the GUID value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a GUID value.
WASTORAGE_API int32_t azure::storage::entity_property::int32_value | ( | ) | const |
Gets the 32-bit integer value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a 32-bit integer value.
WASTORAGE_API int64_t azure::storage::entity_property::int64_value | ( | ) | const |
Gets the 64-bit integer value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a 64-bit integer value.
|
inline |
Indicates whether the value is null.
true
if the value is null.
|
inline |
Gets the property type of the azure::storage::entity_property object.
|
inline |
Sets the value to null.
value | true to set the value to null. |
|
inline |
Sets the property type of the azure::storage::entity_property object.
property_type | An azure::storage::edm_type object indicating the property type. |
|
inline |
Sets the byte array value of the azure::storage::entity_property object.
value | The byte array value. |
|
inline |
Sets the boolean value of the azure::storage::entity_property object.
value | The boolean value. |
|
inline |
Sets the datetime value of the azure::storage::entity_property object.
value | The datetime value. |
|
inline |
Sets the double-precision floating point value of the azure::storage::entity_property object.
value | The double-precision floating point value. |
|
inline |
Sets the GUID value of the azure::storage::entity_property object.
value | The GUID point value. |
|
inline |
Sets the 32-bit integer value of the azure::storage::entity_property object.
value | The 32-bit integer value. |
|
inline |
Sets the 64-bit integer value of the azure::storage::entity_property object.
value | The 64-bit integer value. |
|
inline |
Sets the string value of the azure::storage::entity_property object.
value | The string value. |
|
inline |
Sets the string value of the azure::storage::entity_property object.
value | The string value. |
|
inline |
Returns the value of the azure::storage::entity_property object as a string.
WASTORAGE_API utility::string_t azure::storage::entity_property::string_value | ( | ) | const |
Gets the string value of the azure::storage::entity_property object.
An exception is thrown if this property is set to a value other than a string value.