BloombergLP::baljsn::EncoderTestChoiceWithAllCategories::EncoderTestChoiceWithAllCategories

Create a EncoderTestChoiceWithAllCategories object as a copy of original.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

EncoderTestChoiceWithAllCategories(
    EncoderTestChoiceWithAllCategories const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create an object of type 'EncoderTestChoiceWithAllCategories' having the value of the specified 'original' object. Use the optionally specified 'basicAllocator' to supply memory. If 'basicAllocator' is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalobject providing the value to copy
basicAllocatormemory allocator; null uses the default