Constructors
Synopses
Declared in <ball_userfieldvalue.h>
Create a user field value having the unset value.
explicit
UserFieldValue(bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified value.
explicit
UserFieldValue(
bsls::Types::Int64 value,
bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified floating‐point value.
explicit
UserFieldValue(
double value,
bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified datetime‐with‐timezone value.
explicit
UserFieldValue(
bdlt::DatetimeTz const& value,
bslma::Allocator* basicAllocator = 0);
Create a UserFieldValue object having the same value as the specified original object.
UserFieldValue(
UserFieldValue const& original,
bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified string value.
explicit
UserFieldValue(
std::string_view const& value,
bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified character array value.
explicit
UserFieldValue(
bsl::vector<char> const& value,
bslma::Allocator* basicAllocator = 0);
Create a user field value having the specified integral value.
template<class t_INTEGRAL_TYPE>
explicit
UserFieldValue(
t_INTEGRAL_TYPE value,
bslma::Allocator* basicAllocator = 0)
requires bsl::is_integral<t_INTEGRAL_TYPE>::value;
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses the default |
value |
64‐bit integer value |
original |
object to copy |
Created with MrDocs