|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (Variant12, bslma::UsesBslmaAllocator, Traits::k_VARIANT_USES_BSLMA_ALLOCATOR) |
|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (Variant12, bslmf::IsBitwiseCopyable, Traits::k_VARIANT_IS_BITWISE_COPYABLE) |
|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (Variant12, bslmf::IsBitwiseMoveable, Traits::k_VARIANT_IS_BITWISE_MOVEABLE) |
|
| BSLMF_NESTED_TRAIT_DECLARATION (Variant12, HasPrintMethod) |
|
| Variant12 () |
|
template<class TYPE_OR_ALLOCATOR > |
| Variant12 (const TYPE_OR_ALLOCATOR &valueOrAllocator) |
|
template<class TYPE > |
| Variant12 (const TYPE &value, bslma::Allocator *basicAllocator) |
|
template<class TYPE > |
| Variant12 (bslmf::MovableRef< TYPE > value) |
|
template<class TYPE > |
| Variant12 (bslmf::MovableRef< TYPE > value, bslma::Allocator *basicAllocator) |
|
| Variant12 (const Variant12 &original, bslma::Allocator *basicAllocator=0) |
|
| Variant12 (bslmf::MovableRef< Variant12 > original) |
|
| Variant12 (bslmf::MovableRef< Variant12 > original, bslma::Allocator *basicAllocator) |
|
template<class TYPE > |
Variant12 & | operator= (const TYPE &value) |
|
template<class TYPE > |
Variant12 & | operator= (bslmf::MovableRef< TYPE > value) |
|
Variant12 & | operator= (const Variant12 &rhs) |
|
Variant12 & | operator= (bslmf::MovableRef< Variant12 > rhs) |
|
template<class TYPE > |
Variant12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 > & | operator= (const TYPE &value) |
|
template<class TYPE > |
Variant12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 > & | operator= (bslmf::MovableRef< TYPE > value) |
|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (VariantImp, bslma::UsesBslmaAllocator, Traits::k_VARIANT_USES_BSLMA_ALLOCATOR) |
|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (VariantImp, bslmf::IsBitwiseCopyable, Traits::k_VARIANT_IS_BITWISE_COPYABLE) |
|
| BSLMF_NESTED_TRAIT_DECLARATION_IF (VariantImp, bslmf::IsBitwiseMoveable, Traits::k_VARIANT_IS_BITWISE_MOVEABLE) |
|
| BSLMF_NESTED_TRAIT_DECLARATION (VariantImp, HasPrintMethod) |
|
| VariantImp () |
|
| VariantImp (const TYPE_OR_ALLOCATOR &valueOrAllocator) |
|
| VariantImp (const TYPE &value, bslma::Allocator *basicAllocator) |
|
| VariantImp (bslmf::MovableRef< TYPE > value) |
|
| VariantImp (bslmf::MovableRef< TYPE > value, bslma::Allocator *basicAllocator) |
|
| VariantImp (const VariantImp &original, bslma::Allocator *basicAllocator=0) |
|
| VariantImp (bslmf::MovableRef< VariantImp > original) |
|
| VariantImp (bslmf::MovableRef< VariantImp > original, bslma::Allocator *basicAllocator) |
|
| ~VariantImp () |
|
VariantImp & | operator= (const TYPE &value) |
|
VariantImp & | operator= (bslmf::MovableRef< TYPE > value) |
|
VariantImp & | operator= (const VariantImp &rhs) |
|
VariantImp & | operator= (bslmf::MovableRef< VariantImp > rhs) |
|
VariantImp< bslmf::TypeList12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >::ListType > & | operator= (const TYPE &value) |
|
VariantImp< bslmf::TypeList12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >::ListType > & | operator= (bslmf::MovableRef< TYPE > value) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (const VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (VISITOR &visitor, const TYPE &defaultValue) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (const VISITOR &visitor, const TYPE &defaultValue) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (const VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (VISITOR &visitor, const TYPE &defaultValue) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (const VISITOR &visitor, const TYPE &defaultValue) |
|
RET_TYPE | apply (VISITOR &visitor) |
|
RET_TYPE | apply (const VISITOR &visitor) |
|
RET_TYPE | apply (VISITOR &visitor, const TYPE &defaultValue) |
|
RET_TYPE | apply (const VISITOR &visitor, const TYPE &defaultValue) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (const VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (VISITOR &visitor, const TYPE &defaultValue) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | apply (const VISITOR &visitor, const TYPE &defaultValue) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (const VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (VISITOR &visitor, const TYPE &defaultValue) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | apply (const VISITOR &visitor, const TYPE &defaultValue) const |
|
RET_TYPE | apply (VISITOR &visitor) const |
|
RET_TYPE | apply (const VISITOR &visitor) const |
|
RET_TYPE | apply (VISITOR &visitor, const TYPE &defaultValue) const |
|
RET_TYPE | apply (const VISITOR &visitor, const TYPE &defaultValue) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | applyRaw (VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | applyRaw (const VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | applyRaw (VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | applyRaw (const VISITOR &visitor) |
|
RET_TYPE | applyRaw (VISITOR &visitor) |
|
RET_TYPE | applyRaw (const VISITOR &visitor) |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | applyRaw (VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==1, typenameVISITOR::ResultType >::type | applyRaw (const VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | applyRaw (VISITOR &visitor) const |
|
bsl::enable_if< Variant_ReturnValueHelper< VISITOR >::value==0, void >::type | applyRaw (const VISITOR &visitor) const |
|
RET_TYPE | applyRaw (VISITOR &visitor) const |
|
RET_TYPE | applyRaw (const VISITOR &visitor) const |
|
VariantImp & | assign (const TYPE &value) |
|
VariantImp & | assign (bslmf::MovableRef< TYPE > value) |
|
VariantImp< bslmf::TypeList12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >::ListType > & | assign (const TYPE &value) |
|
VariantImp< bslmf::TypeList12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >::ListType > & | assign (bslmf::MovableRef< TYPE > value) |
|
VariantImp & | assignTo (const SOURCE_TYPE &value) |
|
VariantImp< bslmf::TypeList12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >::ListType > & | assignTo (const SOURCE_TYPE &value) |
|
TYPE & | createInPlace (ARGS &&... arguments) |
|
void | reset () |
|
void | swap (VariantImp &other) |
|
TYPE & | the () |
|
const TYPE & | the () const |
|
bool | is () const |
|
bool | isUnset () const |
|
bsl::ostream & | print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const |
|
int | typeIndex () const |
|
const bsl::type_info & | typeInfo () const |
|
STREAM & | bdexStreamIn (STREAM &stream, int version) |
| DEPRECATED: Do not use.
|
|
int | maxSupportedBdexVersion () const |
| DEPRECATED: Do not use.
|
|
STREAM & | bdexStreamOut (STREAM &stream, int version) const |
| DEPRECATED: Do not use.
|
|
template<class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10, class A11, class A12>
class bdlb::Variant12< A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 >
This class is a "specialization" of Variant
for a fixed number (12) of types. Its 12 template arguments must all be specified (none are defaulted to bslmf::Nil
). It provides the same functionality as Variant<A1, A2, ..., A12>
.