BloombergLP::bdlar::AnyRef::AnyRef

Constructors

Synopses

Declared in <bdlar_anyref.h>

Create an AnyRef object.

AnyRef(AnyRefData const& data);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    ArrayVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    ChoiceVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    CustomizedTypeVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    DynamicTypeVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    EnumVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    NullableValueVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    SequenceVtable const* vtable);
» more...

Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.

AnyRef(
    void* objectAddress,
    SimpleTypeVtable const* vtable);
» more...

Create an AnyRef object.

AnyRef(
    void* objectAddress,
    AnyVtable vtable,
    bdlat_TypeCategory::Value category);
» more...

Parameters

NameDescription
datatype-erased object address, vtable, and category
objectAddressaddress of the object to wrap
vtablepointer to the array vtable
categorytype category of the referred object