8#ifndef INCLUDED_S_BALTST_RAWDATASWITCHED
9#define INCLUDED_S_BALTST_RAWDATASWITCHED
43#include <bslalg_typetraits.h>
57#include <bsl_vector.h>
59#include <bsl_iosfwd.h>
60#include <bsl_limits.h>
64namespace bslma {
class Allocator; }
66namespace s_baltst {
class RawDataSwitched; }
129#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
130 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
154#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
155 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
172 template<
class MANIPULATOR>
181 template<
class MANIPULATOR>
190 template<
class MANIPULATOR>
216 bsl::ostream&
print(bsl::ostream& stream,
218 int spacesPerLevel = 4)
const;
226 template<
class ACCESSOR>
234 template<
class ACCESSOR>
243 template<
class ACCESSOR>
246 int nameLength)
const;
295template <
class MANIPULATOR>
313template <
class MANIPULATOR>
316 enum { NOT_FOUND = -1 };
330template <
class MANIPULATOR>
332 MANIPULATOR& manipulator,
336 enum { NOT_FOUND = -1 };
340 if (0 == attributeInfo) {
360template <
class ACCESSOR>
378template <
class ACCESSOR>
381 enum { NOT_FOUND = -1 };
395template <
class ACCESSOR>
399 int nameLength)
const
401 enum { NOT_FOUND = -1 };
405 if (0 == attributeInfo) {
442 return !(lhs == rhs);
447 bsl::ostream& stream,
450 return rhs.
print(stream, 0, -1);
Definition bslstl_vector.h:1025
Definition bslma_allocator.h:457
Definition s_baltst_rawdataswitched.h:73
@ NUM_ATTRIBUTES
Definition s_baltst_rawdataswitched.h:87
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_rawdataswitched.h:98
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_rawdataswitched.h:314
RawDataSwitched & operator=(const RawDataSwitched &rhs)
Assign to this object the value of the specified rhs object.
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_rawdataswitched.h:379
@ ATTRIBUTE_ID_UCHARVEC
Definition s_baltst_rawdataswitched.h:83
@ ATTRIBUTE_ID_CHARVEC
Definition s_baltst_rawdataswitched.h:82
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
bsl::vector< unsigned char > & ucharvec()
Definition s_baltst_rawdataswitched.h:354
RawDataSwitched(bslma::Allocator *basicAllocator=0)
RawDataSwitched(const RawDataSwitched &original, bslma::Allocator *basicAllocator=0)
~RawDataSwitched()
Destroy this object.
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_rawdataswitched.h:296
bsl::vector< char > & charvec()
Definition s_baltst_rawdataswitched.h:348
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_rawdataswitched.h:361
@ ATTRIBUTE_INDEX_UCHARVEC
Definition s_baltst_rawdataswitched.h:92
@ ATTRIBUTE_INDEX_CHARVEC
Definition s_baltst_rawdataswitched.h:91
static const char CLASS_NAME[]
Definition s_baltst_rawdataswitched.h:96
#define BDLAT_DECL_SEQUENCE_WITH_ALLOCATOR_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:282
#define BSLS_IDENT_RCSID(tag, str)
Definition bsls_ident.h:260
#define BSLS_IDENT_PRAGMA_ONCE
Definition bsls_ident.h:310
Definition balxml_encoderoptions.h:68
Definition s_baltst_address.h:66
bool operator!=(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Address &rhs)
Definition bdlat_attributeinfo.h:137
int d_id
Definition bdlat_attributeinfo.h:140