BloombergLP::bsltf::EmplacableTestType

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 type and value.

Synopsis

Declared in <bsltf_emplacabletesttype.h>

class EmplacableTestType;

Type Aliases

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

Member Functions

NameDescription
EmplacableTestType [constructor]Constructors
~EmplacableTestType [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. Note that this must be explicitly defined to silence compiler warnings on later versions of C++.
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 other object has the same value as this object, and false otherwise. Two EmplacableTestType 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 EmplacableTestType 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 EmplacableTestType objects have the same value if each of their corresponding attributes have the same value.