BloombergLP::balb::CustomInt

This class provides a customized integer type used by test messages.

Synopsis

Declared in <balb_testmessages.h>

class CustomInt;

Type Aliases

NameDescription
BaseType Base integer type for this customized type.

Member Functions

NameDescription
CustomInt [constructor]Constructors
~CustomInt [destructor]Destroy this object.
operator= Assign to this object the value of the specified rhs object.
bdexStreamIn Assign to this object the value read from the specified input stream using the specified version format and return a reference to the modifiable stream.
bdexStreamOut Write the value of this object to the specified output stream using the specified version format and return a reference to the modifiable stream.
fromInt Convert from the specified value to this type. Return 0 if successful and non-zero otherwise.
maxSupportedBdexVersion Return the most current bdex streaming version number supported by this class.
print Format this object to the specified output stream at the optionally specified indentation level and return a reference to the modifiable stream.
reset Reset this object to the default value (i.e., its value upon default construction).
toInt Convert this value to int.

Static Member Functions

NameDescription
checkRestrictions Check if the specified value satisfies the restrictions of this class (i.e., "CustomInt").

Static Data Members

NameDescription
CLASS_NAME Name of this class.

Friends

NameDescription
BloombergLP::balb::operator!=Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise.
BloombergLP::balb::operator==Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.