BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Static Public Member Functions
BeeeOn::DIWCast Struct Referenceabstract

#include <DIWrapper.h>

Inheritance diagram for BeeeOn::DIWCast:
BeeeOn::DIWCastImpl< From, To >

Public Member Functions

virtual bool wouldCast (const std::type_info &info)=0
 
virtual bool isSame (const DIWrapper &wrapper)=0
 
virtual void cast (void *raw, void *dest)=0
 

Static Public Member Functions

static void add (DIWCast *cast)
 
static DIWCastfind (const std::type_info &info, const DIWrapper &wrapper)
 

Detailed Description

Interface to a casting implementation. There is also a static registry of possible casts so anybody can access it. All casts register by DIWCast::add() are automatically deleted on exit.


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