BloombergLP::bsltf::AllocEmplacableTestType

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.

Synopsis

Declared in <bsltf_allocemplacabletesttype.h>

class AllocEmplacableTestType;

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 true if the specified rhs has the same value as this object, and false otherwise. Two AllocEmplacableTestType objects have the same value if each of their corresponding attributes have the same value.

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 true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two AllocEmplacableTestType objects do not have the same value if any of their corresponding attributes do not have the same value.
operator==Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two AllocEmplacableTestType objects have the same value if each of their corresponding attributes have the same value.