#include <balb_testmessages.h>
|
| | UnsignedSequence () |
| |
| | UnsignedSequence (const UnsignedSequence &original) |
| |
| | ~UnsignedSequence () |
| | Destroy this object.
|
| |
| UnsignedSequence & | operator= (const UnsignedSequence &rhs) |
| | Assign to this object the value of the specified rhs object.
|
| |
| template<class STREAM > |
| STREAM & | bdexStreamIn (STREAM &stream, int version) |
| |
| void | reset () |
| |
| template<class MANIPULATOR > |
| int | manipulateAttributes (MANIPULATOR &manipulator) |
| |
| template<class MANIPULATOR > |
| int | manipulateAttribute (MANIPULATOR &manipulator, int id) |
| |
| template<class MANIPULATOR > |
| int | manipulateAttribute (MANIPULATOR &manipulator, const char *name, int nameLength) |
| |
| unsigned int & | element1 () |
| |
| unsigned short & | element2 () |
| |
| bsls::Types::Uint64 & | element3 () |
| |
| bsl::ostream & | print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const |
| |
| template<class STREAM > |
| STREAM & | bdexStreamOut (STREAM &stream, int version) const |
| |
| template<class ACCESSOR > |
| int | accessAttributes (ACCESSOR &accessor) const |
| |
| template<class ACCESSOR > |
| int | accessAttribute (ACCESSOR &accessor, int id) const |
| |
| template<class ACCESSOR > |
| int | accessAttribute (ACCESSOR &accessor, const char *name, int nameLength) const |
| |
| unsigned int | element1 () const |
| |
| unsigned short | element2 () const |
| |
| bsls::Types::Uint64 | element3 () const |
| |
◆ anonymous enum
| Enumerator |
|---|
| ATTRIBUTE_ID_ELEMENT1 | |
| ATTRIBUTE_ID_ELEMENT2 | |
| ATTRIBUTE_ID_ELEMENT3 | |
◆ anonymous enum
◆ anonymous enum
| Enumerator |
|---|
| ATTRIBUTE_INDEX_ELEMENT1 | |
| ATTRIBUTE_INDEX_ELEMENT2 | |
| ATTRIBUTE_INDEX_ELEMENT3 | |
◆ UnsignedSequence() [1/2]
| balb::UnsignedSequence::UnsignedSequence |
( |
| ) |
|
◆ UnsignedSequence() [2/2]
Create an object of type UnsignedSequence having the value of the specified original object.
◆ ~UnsignedSequence()
| balb::UnsignedSequence::~UnsignedSequence |
( |
| ) |
|
◆ accessAttribute() [1/2]
template<class ACCESSOR >
| int balb::UnsignedSequence::accessAttribute |
( |
ACCESSOR & |
accessor, |
|
|
const char * |
name, |
|
|
int |
nameLength |
|
) |
| const |
Invoke the specified accessor on the (non-modifiable) attribute of this object indicated by the specified name of the specified nameLength, supplying accessor with the corresponding attribute information structure. Return the value returned from the invocation of accessor if name identifies an attribute of this class, and -1 otherwise.
◆ accessAttribute() [2/2]
template<class ACCESSOR >
| int balb::UnsignedSequence::accessAttribute |
( |
ACCESSOR & |
accessor, |
|
|
int |
id |
|
) |
| const |
Invoke the specified accessor on the (non-modifiable) attribute of this object indicated by the specified id, supplying accessor with the corresponding attribute information structure. Return the value returned from the invocation of accessor if id identifies an attribute of this class, and -1 otherwise.
◆ accessAttributes()
template<class ACCESSOR >
| int balb::UnsignedSequence::accessAttributes |
( |
ACCESSOR & |
accessor | ) |
const |
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()
template<class STREAM >
| STREAM & balb::UnsignedSequence::bdexStreamIn |
( |
STREAM & |
stream, |
|
|
int |
version |
|
) |
| |
Assign to this object the value read from the specified input stream using the specified version format and return a reference to the modifiable stream. If stream is initially invalid, this operation has no effect. If stream becomes invalid during this operation, this object is valid, but its value is undefined. If version is not supported, stream is marked invalid and this object is unaltered. 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()
template<class STREAM >
| STREAM & balb::UnsignedSequence::bdexStreamOut |
( |
STREAM & |
stream, |
|
|
int |
version |
|
) |
| const |
Write the value of this object to the specified output stream using the specified version format and return a reference to the modifiable stream. If version is not supported, stream is 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.
◆ element1() [1/2]
| unsigned int & balb::UnsignedSequence::element1 |
( |
| ) |
|
|
inline |
Return a reference to the modifiable "Element1" attribute of this object.
◆ element1() [2/2]
| unsigned int balb::UnsignedSequence::element1 |
( |
| ) |
const |
|
inline |
Return a reference to the non-modifiable "Element1" attribute of this object.
◆ element2() [1/2]
| unsigned short & balb::UnsignedSequence::element2 |
( |
| ) |
|
|
inline |
Return a reference to the modifiable "Element2" attribute of this object.
◆ element2() [2/2]
| unsigned short balb::UnsignedSequence::element2 |
( |
| ) |
const |
|
inline |
Return a reference to the non-modifiable "Element2" attribute of this object.
◆ element3() [1/2]
Return a reference to the modifiable "Element3" attribute of this object.
◆ element3() [2/2]
Return a reference to the non-modifiable "Element3" attribute of this object.
◆ lookupAttributeInfo() [1/2]
| static const bdlat_AttributeInfo * balb::UnsignedSequence::lookupAttributeInfo |
( |
const char * |
name, |
|
|
int |
nameLength |
|
) |
| |
|
static |
Return attribute information for the attribute indicated by the specified name of the specified nameLength if the attribute exists, and 0 otherwise.
◆ lookupAttributeInfo() [2/2]
Return attribute information for the attribute indicated by the specified id if the attribute exists, and 0 otherwise.
◆ manipulateAttribute() [1/2]
template<class MANIPULATOR >
| int balb::UnsignedSequence::manipulateAttribute |
( |
MANIPULATOR & |
manipulator, |
|
|
const char * |
name, |
|
|
int |
nameLength |
|
) |
| |
Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified name of the specified nameLength, supplying manipulator with the corresponding attribute information structure. Return the value returned from the invocation of manipulator if name identifies an attribute of this class, and -1 otherwise.
◆ manipulateAttribute() [2/2]
template<class MANIPULATOR >
| int balb::UnsignedSequence::manipulateAttribute |
( |
MANIPULATOR & |
manipulator, |
|
|
int |
id |
|
) |
| |
Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified id, supplying manipulator with the corresponding attribute information structure. Return the value returned from the invocation of manipulator if id identifies an attribute of this class, and -1 otherwise.
◆ manipulateAttributes()
template<class MANIPULATOR >
| int balb::UnsignedSequence::manipulateAttributes |
( |
MANIPULATOR & |
manipulator | ) |
|
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).
◆ maxSupportedBdexVersion()
| int balb::UnsignedSequence::maxSupportedBdexVersion |
( |
| ) |
|
|
inlinestatic |
Return the most current bdex streaming version number supported by this class. See the bslx package-level documentation for more information on bdex streaming of value-semantic types and containers.
◆ operator=()
◆ print()
| bsl::ostream & balb::UnsignedSequence::print |
( |
bsl::ostream & |
stream, |
|
|
int |
level = 0, |
|
|
int |
spacesPerLevel = 4 |
|
) |
| const |
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()
| void balb::UnsignedSequence::reset |
( |
| ) |
|
Reset this object to the default value (i.e., its value upon default construction).
◆ ATTRIBUTE_INFO_ARRAY
◆ CLASS_NAME
| const char balb::UnsignedSequence::CLASS_NAME[] |
|
static |
The documentation for this class was generated from the following file: