BloombergLP::ball::UserFieldValue::UserFieldValue

Constructors

Synopses

Declared in <ball_userfieldvalue.h>

Create a user field value having the unset value. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
UserFieldValue(bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified value. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
UserFieldValue(
    bsls::Types::Int64 value,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified floating-point value. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
UserFieldValue(
    double value,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified datetime-with-timezone value.

explicit
UserFieldValue(
    bdlt::DatetimeTz const& value,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a UserFieldValue object having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

UserFieldValue(
    UserFieldValue const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified string value.

explicit
UserFieldValue(
    std::string_view const& value,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified character array value.

explicit
UserFieldValue(
    bsl::vector<char> const& value,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a user field value having the specified integral value. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

template<class t_INTEGRAL_TYPE>
explicit
UserFieldValue(
    t_INTEGRAL_TYPE value,
    bslma::Allocator* basicAllocator = 0)
requires bsl::is_integral<t_INTEGRAL_TYPE>::value;
» more...