This class provides a mechanism to build a Datum object having a map (owning keys) value in an exception-safe manner.
Declared in <bdld_datummapowningkeysbuilder.h>
class DatumMapOwningKeysBuilder;
| Name | Description |
|---|---|
SizeType | SizeType is an alias for a signed value, representing the capacity, keys-capacity, size or keys-size of a datum-key-owning map. |
allocator_type | Allocator type used by this builder. |
| Name | Description |
|---|---|
DatumMapOwningKeysBuilder [constructor] | Constructors |
~DatumMapOwningKeysBuilder [destructor] | Destroy this object. |
allocator | Return get_allocator().mechanism(). |
append | Append the specified array entries having the specified size. |
capacity | Return the capacity of the held Datum map (owning keys). |
commit | Return a Datum map (owning keys) of the appended elements. |
get_allocator | Return the allocator used by this object to supply memory. |
keysCapacity | Return the keys-capacity of the held Datum map (owning keys). |
pushBack | Append the entry with the specified key and value. |
setSorted | Mark the map being built as sorted according to the specified value. |
size | Return the size of the held Datum map (owning keys). The behavior is undefined if commit or sortAndCommit has already been called on this object. |
sortAndCommit | Return a key-sorted Datum map (owning keys) of the appended elements. |
operator BloombergLP::bslmf::NestedTraitDeclaration<DatumMapOwningKeysBuilder, UsesBslmaAllocator> | DatumMapOwningKeysBuilder is allocator-aware. |