BER decoding options

Synopsis

Declared in <balber_berdecoderoptions.h>

class BerDecoderOptions;

Enums

Name

Description

Unnamed enum

Attribute count constants for this class.

Unnamed enum

Attribute index constants for this class.

Unnamed enum

Attribute identifier constants for this class.

Member Functions

Name

Description

BerDecoderOptions [constructor]

Create an object of type BerDecoderOptions having the default value.

accessAttribute

accessAttribute overloads

accessAttributes

Invoke the specified accessor sequentially on each (non‐modifiable) attribute of this object, supplying accessor with the corresponding attribute information structure until such invocation returns a non‐zero value. Return the value from the last invocation of accessor (i.e., the invocation that terminated the sequence).

bdexStreamIn

Assign to this object the value read from the specified input stream using the specified version format, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported, this object is unaltered and stream is invalidated, but otherwise unmodified. If version is supported but stream becomes invalid during this operation, this object has an undefined, but valid, state. Note that no version is read from stream. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.

bdexStreamOut

Write the value of this object, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported, stream is invalidated, but otherwise unmodified. Note that version is not written to stream. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.

defaultEmptyStrings

Return a reference to the non‐modifiable "DefaultEmptyStrings" attribute of this object.

manipulateAttribute

manipulateAttribute overloads

manipulateAttributes

Invoke the specified manipulator sequentially on the address of each (modifiable) attribute of this object, supplying manipulator with the corresponding attribute information structure until such invocation returns a non‐zero value. Return the value from the last invocation of manipulator (i.e., the invocation that terminated the sequence).

maxDepth

Return a reference to the non‐modifiable "MaxDepth" attribute of this object.

maxSequenceSize

Return a reference to the non‐modifiable "MaxSequenceSize" attribute of this object.

print

Format this object to the specified output stream at the optionally specified indentation level and return a reference to the modifiable stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. Each line is indented by the absolute value of level * spacesPerLevel. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, suppress line breaks and format the entire output on one line. If stream is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only.

reset

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

setDefaultEmptyStrings

Set the DefaultEmptyStrings attribute of this object to the specified value.

setMaxDepth

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

setMaxSequenceSize

Set the MaxSequenceSize attribute of this object to the specified value.

setSkipUnknownElements

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

setTraceLevel

Set the TraceLevel attribute of this object to the specified value.

skipUnknownElements

Return a reference to the non‐modifiable "SkipUnknownElements" attribute of this object.

traceLevel

Return a reference to the non‐modifiable "TraceLevel" attribute of this object.

Static Member Functions

Name

Description

lookupAttributeInfo

lookupAttributeInfo overloads

maxSupportedBdexVersion

maxSupportedBdexVersion overloads

Static Data Members

Name

Description

ATTRIBUTE_INFO_ARRAY

attribute information for each attribute

CLASS_NAME

the name of this class (i.e., "BerDecoderOptions")

DEFAULT_DEFAULT_EMPTY_STRINGS

default value of DefaultEmptyStrings attribute

DEFAULT_MAX_DEPTH

default value of MaxDepth attribute

DEFAULT_MAX_SEQUENCE_SIZE

default value of MaxSequenceSize attribute

DEFAULT_SKIP_UNKNOWN_ELEMENTS

default value of SkipUnknownElements attribute

DEFAULT_TRACE_LEVEL

default value of TraceLevel attribute

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values.

operator==

Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.

Created with MrDocs