BloombergLP::bdlt::Iso8601UtilParseConfiguration

This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in Iso8601Util functions. See the section for information on the class attributes.

Synopsis

Declared in <bdlt_iso8601utilparseconfiguration.h>

class Iso8601UtilParseConfiguration;

Member Functions

NameDescription
Iso8601UtilParseConfiguration [constructor]Create an Iso8601UtilParseConfiguration object having the (default) attribute values: ` relaxed() == false basic() == false `
~Iso8601UtilParseConfiguration [destructor]Destroy this object.
basic Return true if the basic field of this object is set and false otherwise.
print Write the value of this object to the specified output stream in a human-readable format, and return a reference to stream. Optionally specify an initial indentation level, whose absolute value is incremented recursively for nested objects. If level is specified, optionally specify spacesPerLevel, whose absolute value indicates the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified, and can change without notice.
relaxed Return true if the relaxed field of this object is set and false otherwise.
setBasic Set the basic field of this object to the specified value and return a copy of this object.
setRelaxed Set the relaxed field of this object to the specified value and return a copy of this object.

Friends

NameDescription
BloombergLP::bdlt::operator!=Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two Iso8601UtilParseConfiguration objects do not have the same value if either of their basic or relaxed attributes (respectively) do not have the same value.
BloombergLP::bdlt::operator==Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two Iso8601UtilParseConfiguration objects have the same value if each of their basic and relaxed attributes (respectively) have the same value.