|
BDE 4.14.0 Production release
|
#include <balb_testmessages.h>
Public Member Functions | |
| Sequence4 (bslma::Allocator *basicAllocator=0) | |
| Sequence4 (const Sequence4 &original, bslma::Allocator *basicAllocator=0) | |
| ~Sequence4 () | |
| Destroy this object. | |
| Sequence4 & | operator= (const Sequence4 &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) |
| bsl::vector< Sequence3 > & | element1 () |
| bsl::vector< Choice1 > & | element2 () |
| bdlb::NullableValue< bsl::vector< char > > & | element3 () |
| bdlb::NullableValue< int > & | element4 () |
| bdlb::NullableValue< bdlt::DatetimeTz > & | element5 () |
| bdlb::NullableValue< CustomString > & | element6 () |
| bdlb::NullableValue< Enumerated::Value > & | element7 () |
| bool & | element8 () |
| bsl::string & | element9 () |
| double & | element10 () |
| bsl::vector< char > & | element11 () |
| int & | element12 () |
| Enumerated::Value & | element13 () |
| bsl::vector< bool > & | element14 () |
| bsl::vector< double > & | element15 () |
| bsl::vector< bsl::vector< char > > & | element16 () |
| bsl::vector< int > & | element17 () |
| bsl::vector< bdlt::DatetimeTz > & | element18 () |
| bsl::vector< CustomString > & | element19 () |
| 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 |
| const bsl::vector< Sequence3 > & | element1 () const |
| const bsl::vector< Choice1 > & | element2 () const |
| const bdlb::NullableValue< bsl::vector< char > > & | element3 () const |
| const bdlb::NullableValue< int > & | element4 () const |
| const bdlb::NullableValue< bdlt::DatetimeTz > & | element5 () const |
| const bdlb::NullableValue< CustomString > & | element6 () const |
| const bdlb::NullableValue< Enumerated::Value > & | element7 () const |
| bool | element8 () const |
| const bsl::string & | element9 () const |
| double | element10 () const |
| const bsl::vector< char > & | element11 () const |
| int | element12 () const |
| Enumerated::Value | element13 () const |
| const bsl::vector< bool > & | element14 () const |
| const bsl::vector< double > & | element15 () const |
| const bsl::vector< bsl::vector< char > > & | element16 () const |
| const bsl::vector< int > & | element17 () const |
| const bsl::vector< bdlt::DatetimeTz > & | element18 () const |
| const bsl::vector< CustomString > & | element19 () const |
Static Public Member Functions | |
| static int | maxSupportedBdexVersion () |
| static const bdlat_AttributeInfo * | lookupAttributeInfo (int id) |
| static const bdlat_AttributeInfo * | lookupAttributeInfo (const char *name, int nameLength) |
Static Public Attributes | |
| static const char | CLASS_NAME [] |
| static const bdlat_AttributeInfo | ATTRIBUTE_INFO_ARRAY [] |
| anonymous enum |
| anonymous enum |
|
explicit |
Create an object of type Sequence4 having the default value. Use the optionally specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| balb::Sequence4::Sequence4 | ( | const Sequence4 & | original, |
| bslma::Allocator * | basicAllocator = 0 |
||
| ) |
Create an object of type Sequence4 having the value of the specified original object. Use the optionally specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| balb::Sequence4::~Sequence4 | ( | ) |
| int balb::Sequence4::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.
| int balb::Sequence4::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.
| int balb::Sequence4::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).
| STREAM & balb::Sequence4::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.
| STREAM & balb::Sequence4::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.
|
inline |
Return a reference to the modifiable "Element1" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element1" attribute of this object.
|
inline |
Return a reference to the modifiable "Element10" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element10" attribute of this object.
|
inline |
Return a reference to the modifiable "Element11" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element11" attribute of this object.
|
inline |
Return a reference to the modifiable "Element12" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element12" attribute of this object.
|
inline |
Return a reference to the modifiable "Element13" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element13" attribute of this object.
|
inline |
Return a reference to the modifiable "Element14" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element14" attribute of this object.
|
inline |
Return a reference to the modifiable "Element15" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element15" attribute of this object.
|
inline |
Return a reference to the modifiable "Element16" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element16" attribute of this object.
|
inline |
Return a reference to the modifiable "Element17" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element17" attribute of this object.
|
inline |
Return a reference to the modifiable "Element18" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element18" attribute of this object.
|
inline |
Return a reference to the modifiable "Element19" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element19" attribute of this object.
|
inline |
Return a reference to the modifiable "Element2" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element2" attribute of this object.
|
inline |
Return a reference to the modifiable "Element3" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element3" attribute of this object.
|
inline |
Return a reference to the modifiable "Element4" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element4" attribute of this object.
|
inline |
Return a reference to the modifiable "Element5" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element5" attribute of this object.
|
inline |
Return a reference to the modifiable "Element6" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element6" attribute of this object.
|
inline |
Return a reference to the modifiable "Element7" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element7" attribute of this object.
|
inline |
Return a reference to the modifiable "Element8" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element8" attribute of this object.
|
inline |
Return a reference to the modifiable "Element9" attribute of this object.
|
inline |
Return a reference to the non-modifiable "Element9" attribute of this object.
|
static |
Return attribute information for the attribute indicated by the specified name of the specified nameLength if the attribute exists, and 0 otherwise.
|
static |
Return attribute information for the attribute indicated by the specified id if the attribute exists, and 0 otherwise.
| int balb::Sequence4::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.
| int balb::Sequence4::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.
| int balb::Sequence4::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).
|
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.
| bsl::ostream & balb::Sequence4::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.
| void balb::Sequence4::reset | ( | ) |
Reset this object to the default value (i.e., its value upon default construction).
|
static |
|
static |