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

Name

Description

original

object providing the value to copy

basicAllocator

memory allocator; null uses the default

Created with MrDocs