|
BDE 4.39.x Production Release
|
#include <s_baltst_ratsnest.h>
Public Types | |
| enum | { ATTRIBUTE_ID_ELEMENT1 = 0 , ATTRIBUTE_ID_ELEMENT2 = 1 , ATTRIBUTE_ID_ELEMENT3 = 2 , ATTRIBUTE_ID_ELEMENT4 = 3 , ATTRIBUTE_ID_ELEMENT5 = 4 , ATTRIBUTE_ID_ELEMENT6 = 5 , ATTRIBUTE_ID_ELEMENT7 = 6 , ATTRIBUTE_ID_ELEMENT8 = 7 , ATTRIBUTE_ID_ELEMENT9 = 8 , ATTRIBUTE_ID_ELEMENT10 = 9 , ATTRIBUTE_ID_ELEMENT11 = 10 , ATTRIBUTE_ID_ELEMENT12 = 11 , ATTRIBUTE_ID_ELEMENT13 = 12 , ATTRIBUTE_ID_ELEMENT14 = 13 , ATTRIBUTE_ID_ELEMENT15 = 14 } |
| enum | { NUM_ATTRIBUTES = 15 } |
| enum | { ATTRIBUTE_INDEX_ELEMENT1 = 0 , ATTRIBUTE_INDEX_ELEMENT2 = 1 , ATTRIBUTE_INDEX_ELEMENT3 = 2 , ATTRIBUTE_INDEX_ELEMENT4 = 3 , ATTRIBUTE_INDEX_ELEMENT5 = 4 , ATTRIBUTE_INDEX_ELEMENT6 = 5 , ATTRIBUTE_INDEX_ELEMENT7 = 6 , ATTRIBUTE_INDEX_ELEMENT8 = 7 , ATTRIBUTE_INDEX_ELEMENT9 = 8 , ATTRIBUTE_INDEX_ELEMENT10 = 9 , ATTRIBUTE_INDEX_ELEMENT11 = 10 , ATTRIBUTE_INDEX_ELEMENT12 = 11 , ATTRIBUTE_INDEX_ELEMENT13 = 12 , ATTRIBUTE_INDEX_ELEMENT14 = 13 , ATTRIBUTE_INDEX_ELEMENT15 = 14 } |
Public Member Functions | |
| Sequence6 (bslma::Allocator *basicAllocator=0) | |
| Sequence6 (const Sequence6 &original, bslma::Allocator *basicAllocator=0) | |
| ~Sequence6 () | |
| Sequence6 & | operator= (const Sequence6 &rhs) |
| void | reset () |
| template<typename t_MANIPULATOR > | |
| int | manipulateAttributes (t_MANIPULATOR &manipulator) |
| template<typename t_MANIPULATOR > | |
| int | manipulateAttribute (t_MANIPULATOR &manipulator, int id) |
| template<typename t_MANIPULATOR > | |
| int | manipulateAttribute (t_MANIPULATOR &manipulator, const char *name, int nameLength) |
| bdlb::NullableValue< unsigned char > & | element1 () |
| bdlb::NullableValue< s_baltst::CustomString > & | element2 () |
| bdlb::NullableValue< s_baltst::CustomInt > & | element3 () |
| unsigned int & | element4 () |
| unsigned char & | element5 () |
| bsl::vector< bdlb::NullableValue< s_baltst::CustomInt > > & | element6 () |
| s_baltst::CustomString & | element7 () |
| s_baltst::CustomInt & | element8 () |
| bdlb::NullableValue< unsigned int > & | element9 () |
| bsl::vector< unsigned char > & | element10 () |
| bsl::vector< s_baltst::CustomString > & | element11 () |
| bsl::vector< unsigned int > & | element12 () |
| bsl::vector< bdlb::NullableValue< unsigned char > > & | element13 () |
| bsl::vector< s_baltst::CustomInt > & | element14 () |
| bsl::vector< bdlb::NullableValue< unsigned int > > & | element15 () |
| bsl::ostream & | print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const |
| template<typename t_ACCESSOR > | |
| int | accessAttributes (t_ACCESSOR &accessor) const |
| template<typename t_ACCESSOR > | |
| int | accessAttribute (t_ACCESSOR &accessor, int id) const |
| template<typename t_ACCESSOR > | |
| int | accessAttribute (t_ACCESSOR &accessor, const char *name, int nameLength) const |
| const bdlb::NullableValue< unsigned char > & | element1 () const |
| const bdlb::NullableValue< s_baltst::CustomString > & | element2 () const |
| const bdlb::NullableValue< s_baltst::CustomInt > & | element3 () const |
| unsigned int | element4 () const |
| unsigned char | element5 () const |
| const bsl::vector< bdlb::NullableValue< s_baltst::CustomInt > > & | element6 () const |
| const s_baltst::CustomString & | element7 () const |
| const s_baltst::CustomInt & | element8 () const |
| const bdlb::NullableValue< unsigned int > & | element9 () const |
| const bsl::vector< unsigned char > & | element10 () const |
| const bsl::vector< s_baltst::CustomString > & | element11 () const |
| const bsl::vector< unsigned int > & | element12 () const |
| const bsl::vector< bdlb::NullableValue< unsigned char > > & | element13 () const |
| const bsl::vector< s_baltst::CustomInt > & | element14 () const |
| const bsl::vector< bdlb::NullableValue< unsigned int > > & | element15 () const |
Static Public Member Functions | |
| 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 [] |
Friends | |
| bool | operator== (const Sequence6 &lhs, const Sequence6 &rhs) |
| bool | operator!= (const Sequence6 &lhs, const Sequence6 &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const Sequence6 &rhs) |
| anonymous enum |
| anonymous enum |
|
explicit |
Create an object of type Sequence6 having the default value. Use the optionally specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| s_baltst::Sequence6::Sequence6 | ( | const Sequence6 & | original, |
| bslma::Allocator * | basicAllocator = 0 |
||
| ) |
Create an object of type Sequence6 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.
| s_baltst::Sequence6::~Sequence6 | ( | ) |
Destroy this object.
| int s_baltst::Sequence6::accessAttribute | ( | t_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 s_baltst::Sequence6::accessAttribute | ( | t_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 s_baltst::Sequence6::accessAttributes | ( | t_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).
|
inline |
Return a reference to the modifiable "Element1" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element1" attribute of this object.
|
inline |
Return a reference to the modifiable "Element10" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element10" attribute of this object.
|
inline |
Return a reference to the modifiable "Element11" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element11" attribute of this object.
|
inline |
Return a reference to the modifiable "Element12" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element12" attribute of this object.
|
inline |
Return a reference to the modifiable "Element13" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element13" attribute of this object.
|
inline |
Return a reference to the modifiable "Element14" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element14" attribute of this object.
|
inline |
Return a reference to the modifiable "Element15" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element15" attribute of this object.
|
inline |
Return a reference to the modifiable "Element2" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element2" attribute of this object.
|
inline |
Return a reference to the modifiable "Element3" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element3" attribute of this object.
|
inline |
Return a reference to the modifiable "Element4" attribute of this object.
|
inline |
Return the value of the "Element4" attribute of this object.
|
inline |
Return a reference to the modifiable "Element5" attribute of this object.
|
inline |
Return the value of the "Element5" attribute of this object.
|
inline |
Return a reference to the modifiable "Element6" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element6" attribute of this object.
|
inline |
Return a reference to the modifiable "Element7" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element7" attribute of this object.
|
inline |
Return a reference to the modifiable "Element8" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "Element8" attribute of this object.
|
inline |
Return a reference to the modifiable "Element9" attribute of this object.
|
inline |
Return a reference offering non-modifiable access to the "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 s_baltst::Sequence6::manipulateAttribute | ( | t_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 s_baltst::Sequence6::manipulateAttribute | ( | t_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 s_baltst::Sequence6::manipulateAttributes | ( | t_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).
Assign to this object the value of the specified rhs object.
| bsl::ostream & s_baltst::Sequence6::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.
| void s_baltst::Sequence6::reset | ( | ) |
Reset this object to the default value (i.e., its value upon default construction).
|
friend |
Format the specified rhs to the specified output stream and return a reference to the modifiable stream.
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.
|
static |
|
static |