BloombergLP::bdlar::AnyCastUtil::toAnyRef

toAnyRef overloads

Synopses

Declared in <bdlar_anycastutil.h>

Return an AnyRef referring to the same array as ref.

static
AnyRef
toAnyRef(ArrayRef const& ref);
» more...

Return an AnyRef referring to the same choice as ref.

static
AnyRef
toAnyRef(ChoiceRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(CustomizedTypeRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(DynamicTypeRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(EnumRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(NullableValueRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(SequenceRef const& ref);
» more...

Cast the specified ref to AnyRef.

static
AnyRef
toAnyRef(SimpleTypeRef const& ref);
» more...

Return Value

  • an AnyRef for the array referred to by ref
  • an AnyRef for the choice referred to by ref
  • an AnyRef for the customized type referred to by ref
  • an AnyRef for the dynamic type referred to by ref
  • an AnyRef for the enumeration referred to by ref
  • an AnyRef for the nullable value referred to by ref
  • an AnyRef for the sequence referred to by ref
  • an AnyRef for the simple type referred to by ref

Parameters

NameDescription
refarray reference to wrap as AnyRef