BloombergLP::ball::UserFields

This class implements a value-semantic type for representing a sequence of (randomly accessible) user field values.

Synopsis

Declared in <ball_userfields.h>

class UserFields;

Type Aliases

NameDescription
ConstIterator Constant iterator over the user field values in this object.

Member Functions

NameDescription
UserFields [constructor]Constructors
operator= Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object.
allocator Return the allocator used by this object to supply memory.
append Append the specified value to this object.
appendCharArray Append the specified character-array value to this object.
appendDatetimeTz Append the specified datetime-with-timezone value to this object.
appendDouble Append the specified floating-point value to this object.
appendInt64 Append the specified 64-bit integer value to this object.
appendNull Append an element having the unset value to this object.
appendString Append the specified string value to this object.
begin Return an iterator to the first user field value.
end Return an iterator providing non-modifiable access to the past-the-end element in the sequence of user field values maintained by this object.
length Return the number of user field values in this object.
operator[] Subscript operators
print Format this object to the specified output stream.
removeAll Remove all of the user field values from this object. After this method is called length is 0.
swap Efficiently exchange the value of this object with the value of the specified other object.
value Same as the preceding overload.
operator BloombergLP::bslmf::NestedTraitDeclaration<UserFields, UsesBslmaAllocator> Declare that this type uses a bslma allocator.

Friends

NameDescription
BloombergLP::ball::swapSwap the value of the specified a object with the value of the specified b object.
BloombergLP::ball::operator==Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Non-Member Functions

NameDescription
operator!=Return true if lhs and rhs do not have the same value.