8#ifndef INCLUDED_BDLJSN_READOPTIONS
9#define INCLUDED_BDLJSN_READOPTIONS
108#include <bdlscm_version.h>
110#include <bsl_iosfwd.h>
133 bool d_allowTrailingText;
136 int d_maxNestedDepth;
202 bsl::ostream&
print(bsl::ostream& stream,
204 int spacesPerLevel = 4)
const;
237: d_allowTrailingText(original.d_allowTrailingText)
238, d_maxNestedDepth (original.d_maxNestedDepth)
252 d_allowTrailingText = rhs.d_allowTrailingText;
253 d_maxNestedDepth = rhs.d_maxNestedDepth;
261 d_allowTrailingText = value;
270 d_maxNestedDepth = value;
278 return d_allowTrailingText;
284 return d_maxNestedDepth;
310 return rhs.
print(stream, 0, -1);
Definition bdljsn_readoptions.h:128
ReadOptions & operator=(const ReadOptions &rhs)
Definition bdljsn_readoptions.h:250
~ReadOptions()
Destroy this object.
Definition bdljsn_readoptions.h:243
int maxNestedDepth() const
Return the maxNestedDepth attribute of this object.
Definition bdljsn_readoptions.h:282
static const bool s_DEFAULT_INITIALIZER_ALLOW_TRAILING_TEXT
Definition bdljsn_readoptions.h:140
static const int s_DEFAULT_INITIALIZER_MAX_NESTED_DEPTH
Definition bdljsn_readoptions.h:141
ReadOptions & setMaxNestedDepth(int value)
Definition bdljsn_readoptions.h:266
bool allowTrailingText() const
Return the allowTrailingText attribute of this object.
Definition bdljsn_readoptions.h:276
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
ReadOptions & setAllowTrailingText(bool value)
Definition bdljsn_readoptions.h:259
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdljsn_error.h:143
bool operator!=(const Error &lhs, const Error &rhs)
bool operator==(const Error &lhs, const Error &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Error &object)