8#ifndef INCLUDED_BDLAR_ANYCASTUTIL
9#define INCLUDED_BDLAR_ANYCASTUTIL
52#include <bdlar_anyref.h>
204 return AnyConstRef(ref.objectAddress(), ref.vtable());
210 return AnyConstRef(ref.objectAddress(), ref.vtable());
216 return AnyConstRef(ref.objectAddress(), ref.vtable());
222 return AnyConstRef(ref.objectAddress(), ref.vtable());
228 return AnyConstRef(ref.objectAddress(), ref.vtable());
234 return AnyConstRef(ref.objectAddress(), ref.vtable());
240 return AnyConstRef(ref.objectAddress(), ref.vtable());
246 return AnyConstRef(ref.objectAddress(), ref.vtable());
252 return AnyRef(ref.objectAddress(), ref.vtable());
258 return AnyRef(ref.objectAddress(), ref.vtable());
264 return AnyRef(ref.objectAddress(), ref.vtable());
270 return AnyRef(ref.objectAddress(), ref.vtable());
276 return AnyRef(ref.objectAddress(), ref.vtable());
282 return AnyRef(ref.objectAddress(), ref.vtable());
288 return AnyRef(ref.objectAddress(), ref.vtable());
294 return AnyRef(ref.objectAddress(), ref.vtable());
Definition bdlar_anyref.h:247
const EnumConstVtable * enumVtable() const
Definition bdlar_anyref.h:678
const CustomizedTypeConstVtable * customizedTypeVtable() const
Definition bdlar_anyref.h:666
const ChoiceConstVtable * choiceVtable() const
Definition bdlar_anyref.h:660
const void * objectAddress() const
Return a pointer to the wrapped object.
Definition bdlar_anyref.h:702
const SimpleTypeConstVtable * simpleTypeVtable() const
Definition bdlar_anyref.h:696
const DynamicTypeConstVtable * dynamicTypeVtable() const
Definition bdlar_anyref.h:672
const NullableValueConstVtable * nullableValueVtable() const
Definition bdlar_anyref.h:684
const SequenceConstVtable * sequenceVtable() const
Definition bdlar_anyref.h:690
const ArrayConstVtable * arrayVtable() const
Definition bdlar_anyref.h:654
Definition bdlar_anyref.h:85
const NullableValueVtable * nullableValueVtable() const
Definition bdlar_anyref.h:512
void * objectAddress() const
Return a pointer to the wrapped object.
Definition bdlar_anyref.h:530
const SequenceVtable * sequenceVtable() const
Definition bdlar_anyref.h:518
const SimpleTypeVtable * simpleTypeVtable() const
Definition bdlar_anyref.h:524
const ArrayVtable * arrayVtable() const
Definition bdlar_anyref.h:482
const CustomizedTypeVtable * customizedTypeVtable() const
Definition bdlar_anyref.h:494
const ChoiceVtable * choiceVtable() const
Definition bdlar_anyref.h:488
const EnumVtable * enumVtable() const
Definition bdlar_anyref.h:506
const DynamicTypeVtable * dynamicTypeVtable() const
Definition bdlar_anyref.h:500
Definition bdlar_arrayref.h:147
Definition bdlar_arrayref.h:72
Definition bdlar_choiceref.h:160
Definition bdlar_choiceref.h:68
Definition bdlar_customizedtyperef.h:136
Definition bdlar_customizedtyperef.h:73
Definition bdlar_dynamictyperef.h:128
Definition bdlar_dynamictyperef.h:77
Definition bdlar_enumref.h:138
Definition bdlar_enumref.h:68
Definition bdlar_nullablevalueref.h:147
Definition bdlar_nullablevalueref.h:72
Definition bdlar_sequenceref.h:205
Definition bdlar_sequenceref.h:68
Definition bdlar_simpletyperef.h:216
Definition bdlar_simpletyperef.h:68
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlar_accessorref.h:59
Definition bdlar_anycastutil.h:72
static AnyConstRef toAnyConstRef(const ArrayConstRef &ref)
Cast the specified ref to AnyConstRef.
Definition bdlar_anycastutil.h:202
static ArrayConstRef toArrayConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:298
static SimpleTypeConstRef toSimpleTypeConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:386
static ChoiceConstRef toChoiceConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:310
static DynamicTypeConstRef toDynamicTypeConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:336
static CustomizedTypeConstRef toCustomizedTypeConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:322
static NullableValueRef toNullableValueRef(const AnyRef &any)
Definition bdlar_anycastutil.h:368
static EnumConstRef toEnumConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:348
static SequenceRef toSequenceRef(const AnyRef &any)
Definition bdlar_anycastutil.h:380
static SimpleTypeRef toSimpleTypeRef(const AnyRef &any)
Definition bdlar_anycastutil.h:392
static ChoiceRef toChoiceRef(const AnyRef &any)
Definition bdlar_anycastutil.h:316
static NullableValueConstRef toNullableValueConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:360
static EnumRef toEnumRef(const AnyRef &any)
Definition bdlar_anycastutil.h:354
static DynamicTypeRef toDynamicTypeRef(const AnyRef &any)
Definition bdlar_anycastutil.h:342
static ArrayRef toArrayRef(const AnyRef &any)
Definition bdlar_anycastutil.h:304
static SequenceConstRef toSequenceConstRef(const AnyConstRef &any)
Definition bdlar_anycastutil.h:374
static CustomizedTypeRef toCustomizedTypeRef(const AnyRef &any)
Definition bdlar_anycastutil.h:330
static AnyRef toAnyRef(const ArrayRef &ref)
Cast the specified ref to AnyRef.
Definition bdlar_anycastutil.h:250