BloombergLP::bsltf::AllocEmplacableTestType

Allocator-aware test type for verifying in-place constructor arguments.

Synopsis

Declared in <bsltf_allocemplacabletesttype.h>

class AllocEmplacableTestType;

Description

This class provides a test object used to check that the arguments passed for creating an object with an in-place representation are of the correct types and values.

Type Aliases

NameDescription
ArgType01 Alias for allocator-aware argument type number 1.
ArgType02 Alias for allocator-aware argument type number 2.
ArgType03 Alias for allocator-aware argument type number 3.
ArgType04 Alias for allocator-aware argument type number 4.
ArgType05 Alias for allocator-aware argument type number 5.
ArgType06 Alias for allocator-aware argument type number 6.
ArgType07 Alias for allocator-aware argument type number 7.
ArgType08 Alias for allocator-aware argument type number 8.
ArgType09 Alias for allocator-aware argument type number 9.
ArgType10 Alias for allocator-aware argument type number 10.
ArgType11 Alias for allocator-aware argument type number 11.
ArgType12 Alias for allocator-aware argument type number 12.
ArgType13 Alias for allocator-aware argument type number 13.
ArgType14 Alias for allocator-aware argument type number 14.

Member Functions

NameDescription
AllocEmplacableTestType [constructor]Constructors
~AllocEmplacableTestType [destructor]Increment the count of calls to this destructor, and destroy this object.
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 to supply memory for this object.
arg01 Return a reference to the stored argument number 1.
arg02 Return a reference to the stored argument number 2.
arg03 Return a reference to the stored argument number 3.
arg04 Return a reference to the stored argument number 4.
arg05 Return a reference to the stored argument number 5.
arg06 Return a reference to the stored argument number 6.
arg07 Return a reference to the stored argument number 7.
arg08 Return a reference to the stored argument number 8.
arg09 Return a reference to the stored argument number 9.
arg10 Return a reference to the stored argument number 10.
arg11 Return a reference to the stored argument number 11.
arg12 Return a reference to the stored argument number 12.
arg13 Return a reference to the stored argument number 13.
arg14 Return the value of the correspondingly numbered argument that was passed to the constructor of this object.
isEqual Return whether this object has the same value as the specified rhs.

Static Member Functions

NameDescription
getNumDeletes Return the number of times an object of this type has been destroyed.

Non-Member Functions

NameDescription
debugprintSame as the preceding overload for this test type.
operator!=Return whether two AllocEmplacableTestType objects differ in value.
operator==Return whether two AllocEmplacableTestType objects have the same value.