Constructors
Synopses
Declared in <bdlar_anyref.h>
Create an AnyRef object.
AnyRef(AnyRefData const& data);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
ArrayVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
ChoiceVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
CustomizedTypeVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
DynamicTypeVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
EnumVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
NullableValueVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
SequenceVtable const* vtable);
Create an AnyRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
AnyRef(
void* objectAddress,
SimpleTypeVtable const* vtable);
Create an AnyRef object.
AnyRef(
void* objectAddress,
AnyVtable vtable,
bdlat_TypeCategory::Value category);
Parameters
Name |
Description |
data |
type‐erased object address, vtable, and category |
objectAddress |
address of the object to wrap |
vtable |
pointer to the array vtable |
category |
type category of the referred object |
Created with MrDocs