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

Synopsis

Declared in <balb_testmessages.h>

class CustomString;

Type Aliases

Name

Description

BaseType

Base string type for this customized type.

Member Functions

Name

Description

CustomString [constructor]

Constructors

~CustomString [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.

fromString

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).

toString

Convert this value to bsl::string.

Static Member Functions

Name

Description

checkRestrictions

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

Static Data Members

Name

Description

CLASS_NAME

Name of this class.

Friends

Name

Description

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.

Created with MrDocs