|
bit7z 4.1.0
A C++ library for interfacing with the 7-zip shared libs.
|
The BitPropVariant struct is a light extension to the WinAPI PROPVARIANT struct providing useful getters. More...
#include <bit7z/bitpropvariant.hpp>
Public Member Functions | |
| BitPropVariant () noexcept | |
| Constructs an empty BitPropVariant object. | |
| BitPropVariant (BitPropVariant &&other) noexcept | |
| Move constructs this BitPropVariant from another one. | |
| BitPropVariant (bool value) noexcept | |
| Constructs a boolean BitPropVariant. | |
| BitPropVariant (const BitPropVariant &other) | |
| Copy constructs this BitPropVariant from another one. | |
| BitPropVariant (const sevenzip_string &value) | |
| Constructs a string BitPropVariant from a sevenzip_string. | |
| BitPropVariant (const sevenzip_string::value_type *value) | |
| Constructs a string BitPropVariant from a null-terminated C wide string. | |
| BitPropVariant (FILETIME value) noexcept | |
| Constructs a FILETIME BitPropVariant. | |
| BitPropVariant (std::int16_t value) noexcept | |
| Constructs a 16-bit integer BitPropVariant. | |
| BitPropVariant (std::int32_t value) noexcept | |
| Constructs a 32-bit integer BitPropVariant. | |
| BitPropVariant (std::int64_t value) noexcept | |
| Constructs a 64-bit integer BitPropVariant. | |
| BitPropVariant (std::int8_t value) noexcept | |
| Constructs an 8-bit integer BitPropVariant. | |
| BitPropVariant (std::uint16_t value) noexcept | |
| Constructs a 16-bit unsigned integer BitPropVariant. | |
| BitPropVariant (std::uint32_t value) noexcept | |
| Constructs a 32-bit unsigned integer BitPropVariant. | |
| BitPropVariant (std::uint64_t value) noexcept | |
| Constructs a 64-bit unsigned integer BitPropVariant. | |
| BitPropVariant (std::uint8_t value) noexcept | |
| Constructs an 8-bit unsigned integer BitPropVariant. | |
| ~BitPropVariant () | |
| BitPropVariant destructor. | |
| void | clear () noexcept |
| Clears the current value of the variant object. | |
| auto | getBool () const -> bool |
| auto | getFileTime () const -> FILETIME |
| auto | getInt16 () const -> std::int16_t |
| auto | getInt32 () const -> std::int32_t |
| auto | getInt64 () const -> std::int64_t |
| auto | getInt8 () const -> std::int8_t |
| auto | getNativeString () const -> native_string |
| auto | getRawString () const -> sevenzip_string |
| auto | getString () const -> tstring |
| auto | getTimePoint () const -> time_type |
| auto | getUInt16 () const -> std::uint16_t |
| auto | getUInt32 () const -> std::uint32_t |
| auto | getUInt64 () const -> std::uint64_t |
| auto | getUInt8 () const -> std::uint8_t |
| auto | isBool () const noexcept -> bool |
| auto | isEmpty () const noexcept -> bool |
| auto | isFileTime () const noexcept -> bool |
| auto | isInt16 () const noexcept -> bool |
| auto | isInt32 () const noexcept -> bool |
| auto | isInt64 () const noexcept -> bool |
| auto | isInt8 () const noexcept -> bool |
| auto | isString () const noexcept -> bool |
| auto | isUInt16 () const noexcept -> bool |
| auto | isUInt32 () const noexcept -> bool |
| auto | isUInt64 () const noexcept -> bool |
| auto | isUInt8 () const noexcept -> bool |
| auto | operator= (BitPropVariant &&other) noexcept -> BitPropVariant & |
| Move assignment operator. | |
| auto | operator= (const BitPropVariant &other) -> BitPropVariant & |
| Copy assignment operator. | |
| template<typename T> | |
| auto | operator= (const T &value) noexcept(std::is_integral< T >::value) -> BitPropVariant & |
| Assignment operator. | |
| auto | toString () const -> tstring |
| auto | type () const -> BitPropVariantType |
The BitPropVariant struct is a light extension to the WinAPI PROPVARIANT struct providing useful getters.
|
noexcept |
Constructs an empty BitPropVariant object.
| BitPropVariant | ( | const BitPropVariant & | other | ) |
Copy constructs this BitPropVariant from another one.
| other | the variant to be copied. |
|
noexcept |
Move constructs this BitPropVariant from another one.
| other | the variant to be moved. |
|
explicitnoexcept |
Constructs a boolean BitPropVariant.
| value | the bool value of the BitPropVariant |
|
explicit |
Constructs a string BitPropVariant from a null-terminated C wide string.
| value | the null-terminated C wide string value of the BitPropVariant |
|
explicit |
Constructs a string BitPropVariant from a sevenzip_string.
| value | the sevenzip_string value of the BitPropVariant |
|
explicitnoexcept |
Constructs an 8-bit unsigned integer BitPropVariant.
| value | the std::uint8_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 16-bit unsigned integer BitPropVariant.
| value | the std::uint16_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 32-bit unsigned integer BitPropVariant.
| value | the std::uint32_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 64-bit unsigned integer BitPropVariant.
| value | the std::uint64_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs an 8-bit integer BitPropVariant.
| value | the std::int8_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 16-bit integer BitPropVariant.
| value | the std::int16_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 32-bit integer BitPropVariant.
| value | the std::int32_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a 64-bit integer BitPropVariant.
| value | the std::int64_t value of the BitPropVariant |
|
explicitnoexcept |
Constructs a FILETIME BitPropVariant.
| value | the FILETIME value of the BitPropVariant |
| ~BitPropVariant | ( | ) |
BitPropVariant destructor.
|
noexcept |
Clears the current value of the variant object.
| auto getBool | ( | ) | const -> bool |
| auto getFileTime | ( | ) | const -> FILETIME |
| auto getInt16 | ( | ) | const -> std::int16_t |
| auto getInt32 | ( | ) | const -> std::int32_t |
| auto getInt64 | ( | ) | const -> std::int64_t |
| auto getInt8 | ( | ) | const -> std::int8_t |
| auto getNativeString | ( | ) | const -> native_string |
| auto getRawString | ( | ) | const -> sevenzip_string |
| auto getString | ( | ) | const -> tstring |
| auto getTimePoint | ( | ) | const -> time_type |
| auto getUInt16 | ( | ) | const -> std::uint16_t |
| auto getUInt32 | ( | ) | const -> std::uint32_t |
| auto getUInt64 | ( | ) | const -> std::uint64_t |
| auto getUInt8 | ( | ) | const -> std::uint8_t |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Move assignment operator.
| other | the variant to be moved. |
| auto operator= | ( | const BitPropVariant & | other | ) | -> BitPropVariant & |
Copy assignment operator.
| other | the variant to be copied. |
|
inlinenoexcept |
Assignment operator.
| value | the value to be assigned to the object |
| auto toString | ( | ) | const -> tstring |
| auto type | ( | ) | const -> BitPropVariantType |