Options for controlling the XML decoding process.

Synopsis

Declared in <balxml_decoderoptions.h>

class DecoderOptions;

Description

The generated C++ code for this schema element is created by using bas_codegen.pl, run by balxml/code_from_xsd.pl with no hand‐editing.

Enums

Name

Description

Unnamed enum

Attribute ids used by bdlat attribute lookup for this type.

Unnamed enum

The number of attributes in this type.

Unnamed enum

Attribute indices used by bdlat attribute lookup for this type.

Member Functions

Name

Description

DecoderOptions [constructor]

Constructors

~DecoderOptions [destructor]

Destroy this object.

operator=

Assignment operators

accessAttribute

accessAttribute overloads

accessAttributes

Invoke accessor sequentially on each non‐modifiable attribute.

formattingMode

Return the value of the "FormattingMode" attribute of this object.

manipulateAttribute

manipulateAttribute overloads

manipulateAttributes

Invoke manipulator sequentially on each modifiable attribute.

maxDepth

Return the value of the "MaxDepth" attribute of this object.

print

Format this object to the specified output stream.

reset

Reset this object to the default value (i.e., its value upon default construction).

setFormattingMode

Set the "FormattingMode" attribute of this object to the specified value.

setMaxDepth

Set the "MaxDepth" attribute of this object to the specified value.

setSkipUnknownElements

Set the "SkipUnknownElements" attribute of this object to the specified value.

setValidateInputIsUtf8

Set the "ValidateInputIsUtf8" attribute of this object to the specified value.

setValidateRootTag

Set the "ValidateRootTag" attribute of this object to the specified value.

skipUnknownElements

Return the value of the "SkipUnknownElements" attribute of this object.

validateInputIsUtf8

Return the value of the "ValidateInputIsUtf8" attribute of this object.

validateRootTag

Return the value of the "ValidateRootTag" attribute of this object.

Static Member Functions

Name

Description

lookupAttributeInfo

lookupAttributeInfo overloads

Static Data Members

Name

Description

ATTRIBUTE_INFO_ARRAY

Attribute metadata array for bdlat serialization of this type.

CLASS_NAME

Name of this class for use in XML serialization.

DEFAULT_INITIALIZER_FORMATTING_MODE

Default initial value for formattingMode (0).

DEFAULT_INITIALIZER_MAX_DEPTH

Default initial value for maxDepth (512).

DEFAULT_INITIALIZER_SKIP_UNKNOWN_ELEMENTS

Default initial value for skipUnknownElements.

DEFAULT_INITIALIZER_VALIDATE_INPUT_IS_UTF8

Default initial value for validateInputIsUtf8.

DEFAULT_INITIALIZER_VALIDATE_ROOT_TAG

Default initial value for validateRootTag.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs do not have the same value.

operator==

Return true if the specified lhs and rhs have the same value.

Created with MrDocs