BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlar::AnyCastUtil Struct Reference

#include <bdlar_anycastutil.h>

Static Public Member Functions

static AnyConstRef toAnyConstRef (const ArrayConstRef &ref)
 
static AnyConstRef toAnyConstRef (const ChoiceConstRef &ref)
 
static AnyConstRef toAnyConstRef (const CustomizedTypeConstRef &ref)
 
static AnyConstRef toAnyConstRef (const DynamicTypeConstRef &ref)
 
static AnyConstRef toAnyConstRef (const EnumConstRef &ref)
 
static AnyConstRef toAnyConstRef (const NullableValueConstRef &ref)
 
static AnyConstRef toAnyConstRef (const SequenceConstRef &ref)
 
static AnyConstRef toAnyConstRef (const SimpleTypeConstRef &ref)
 
static AnyRef toAnyRef (const ArrayRef &ref)
 
static AnyRef toAnyRef (const ChoiceRef &ref)
 
static AnyRef toAnyRef (const CustomizedTypeRef &ref)
 
static AnyRef toAnyRef (const DynamicTypeRef &ref)
 
static AnyRef toAnyRef (const EnumRef &ref)
 
static AnyRef toAnyRef (const NullableValueRef &ref)
 
static AnyRef toAnyRef (const SequenceRef &ref)
 
static AnyRef toAnyRef (const SimpleTypeRef &ref)
 
static ArrayConstRef toArrayConstRef (const AnyConstRef &any)
 
static ArrayRef toArrayRef (const AnyRef &any)
 
static ChoiceConstRef toChoiceConstRef (const AnyConstRef &any)
 
static ChoiceRef toChoiceRef (const AnyRef &any)
 
static CustomizedTypeConstRef toCustomizedTypeConstRef (const AnyConstRef &any)
 
static CustomizedTypeRef toCustomizedTypeRef (const AnyRef &any)
 
static DynamicTypeConstRef toDynamicTypeConstRef (const AnyConstRef &any)
 
static DynamicTypeRef toDynamicTypeRef (const AnyRef &any)
 
static EnumConstRef toEnumConstRef (const AnyConstRef &any)
 
static EnumRef toEnumRef (const AnyRef &any)
 
static NullableValueConstRef toNullableValueConstRef (const AnyConstRef &any)
 
static NullableValueRef toNullableValueRef (const AnyRef &any)
 
static SequenceConstRef toSequenceConstRef (const AnyConstRef &any)
 
static SequenceRef toSequenceRef (const AnyRef &any)
 
static SimpleTypeConstRef toSimpleTypeConstRef (const AnyConstRef &any)
 
static SimpleTypeRef toSimpleTypeRef (const AnyRef &any)
 

Member Function Documentation

◆ toAnyConstRef() [1/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const ArrayConstRef ref)
inlinestatic

Cast the specified ref to AnyConstRef.

◆ toAnyConstRef() [2/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const ChoiceConstRef ref)
inlinestatic

◆ toAnyConstRef() [3/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const CustomizedTypeConstRef ref)
inlinestatic

◆ toAnyConstRef() [4/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const DynamicTypeConstRef ref)
inlinestatic

◆ toAnyConstRef() [5/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const EnumConstRef ref)
inlinestatic

◆ toAnyConstRef() [6/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const NullableValueConstRef ref)
inlinestatic

◆ toAnyConstRef() [7/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const SequenceConstRef ref)
inlinestatic

◆ toAnyConstRef() [8/8]

AnyConstRef bdlar::AnyCastUtil::toAnyConstRef ( const SimpleTypeConstRef ref)
inlinestatic

◆ toAnyRef() [1/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const ArrayRef ref)
inlinestatic

Cast the specified ref to AnyRef.

◆ toAnyRef() [2/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const ChoiceRef ref)
inlinestatic

◆ toAnyRef() [3/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const CustomizedTypeRef ref)
inlinestatic

◆ toAnyRef() [4/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const DynamicTypeRef ref)
inlinestatic

◆ toAnyRef() [5/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const EnumRef ref)
inlinestatic

◆ toAnyRef() [6/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const NullableValueRef ref)
inlinestatic

◆ toAnyRef() [7/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const SequenceRef ref)
inlinestatic

◆ toAnyRef() [8/8]

AnyRef bdlar::AnyCastUtil::toAnyRef ( const SimpleTypeRef ref)
inlinestatic

◆ toArrayConstRef()

ArrayConstRef bdlar::AnyCastUtil::toArrayConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to ArrayConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_ARRAY_CATEGORY.

◆ toArrayRef()

ArrayRef bdlar::AnyCastUtil::toArrayRef ( const AnyRef any)
inlinestatic

Cast the specified any to ArrayRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_ARRAY_CATEGORY.

◆ toChoiceConstRef()

ChoiceConstRef bdlar::AnyCastUtil::toChoiceConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to ChoiceConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_CHOICE_CATEGORY.

◆ toChoiceRef()

ChoiceRef bdlar::AnyCastUtil::toChoiceRef ( const AnyRef any)
inlinestatic

Cast the specified any to ChoiceRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_CUSTOMIZED_TYPE_CATEGORY.

◆ toCustomizedTypeConstRef()

CustomizedTypeConstRef bdlar::AnyCastUtil::toCustomizedTypeConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to CustomizedTypeConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_CUSTOMIZED_TYPE_CATEGORY.

◆ toCustomizedTypeRef()

CustomizedTypeRef bdlar::AnyCastUtil::toCustomizedTypeRef ( const AnyRef any)
inlinestatic

Cast the specified any to CustomizedTypeRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_CHOICE_CATEGORY.

◆ toDynamicTypeConstRef()

DynamicTypeConstRef bdlar::AnyCastUtil::toDynamicTypeConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to DynamicTypeConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_DYNAMIC_CATEGORY.

◆ toDynamicTypeRef()

DynamicTypeRef bdlar::AnyCastUtil::toDynamicTypeRef ( const AnyRef any)
inlinestatic

Cast the specified any to DynamicTypeRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_DYNAMIC_CATEGORY.

◆ toEnumConstRef()

EnumConstRef bdlar::AnyCastUtil::toEnumConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to EnumConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY.

◆ toEnumRef()

EnumRef bdlar::AnyCastUtil::toEnumRef ( const AnyRef any)
inlinestatic

Cast the specified any to EnumRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY.

◆ toNullableValueConstRef()

NullableValueConstRef bdlar::AnyCastUtil::toNullableValueConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to NullableValueConstRef.

Precondition
The behaviour is undefined unless any.typeCategory()==bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY.

◆ toNullableValueRef()

NullableValueRef bdlar::AnyCastUtil::toNullableValueRef ( const AnyRef any)
inlinestatic

Cast the specified any to NullableValueRef.

Precondition
The behaviour is undefined unless any.typeCategory()==bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY.

◆ toSequenceConstRef()

SequenceConstRef bdlar::AnyCastUtil::toSequenceConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to SequenceConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_SEQUENCE_CATEGORY.

◆ toSequenceRef()

SequenceRef bdlar::AnyCastUtil::toSequenceRef ( const AnyRef any)
inlinestatic

Cast the specified any to SequenceRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_SEQUENCE_CATEGORY.

◆ toSimpleTypeConstRef()

SimpleTypeConstRef bdlar::AnyCastUtil::toSimpleTypeConstRef ( const AnyConstRef any)
inlinestatic

Cast the specified any to SimpleTypeConstRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_SIMPLE_CATEGORY.

◆ toSimpleTypeRef()

SimpleTypeRef bdlar::AnyCastUtil::toSimpleTypeRef ( const AnyRef any)
inlinestatic

Cast the specified any to SimpleTypeRef.

Precondition
The behaviour is undefined unless any.typeCategory() == bdlat_TypeCategory::e_SIMPLE_CATEGORY.

The documentation for this struct was generated from the following file: