#include <bdlt_iso8601utilparseconfiguration.h>
This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in Iso8601Util
functions. See the Attributes section for information on the class attributes.
See bdlt_iso8601utilparseconfiguration
◆ Iso8601UtilParseConfiguration() [1/2]
bdlt::Iso8601UtilParseConfiguration::Iso8601UtilParseConfiguration |
( |
| ) |
|
|
inline |
Create an Iso8601UtilParseConfiguration
object having the (default) attribute values:
bool relaxed() const
Definition bdlt_iso8601utilparseconfiguration.h:308
bool basic() const
Definition bdlt_iso8601utilparseconfiguration.h:302
◆ Iso8601UtilParseConfiguration() [2/2]
◆ ~Iso8601UtilParseConfiguration()
bdlt::Iso8601UtilParseConfiguration::~Iso8601UtilParseConfiguration |
( |
| ) |
|
|
inline |
◆ basic()
bool bdlt::Iso8601UtilParseConfiguration::basic |
( |
| ) |
const |
|
inline |
Return true
if the basic
field of this object is set and false
otherwise.
◆ print()
bsl::ostream & bdlt::Iso8601UtilParseConfiguration::print |
( |
bsl::ostream & |
stream, |
|
|
int |
level = 0 , |
|
|
int |
spacesPerLevel = 4 |
|
) |
| const |
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()
bool bdlt::Iso8601UtilParseConfiguration::relaxed |
( |
| ) |
const |
|
inline |
Return true
if the relaxed
field of this object is set and false
otherwise.
◆ setBasic()
Assign to this object the value of the specified rhs
configuration, and return a reference providing modifiable access to this object. 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.
◆ 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.
◆ 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.
The documentation for this class was generated from the following file: