Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Variant::VUserType< void * > Class Reference

Template specialization for void pointers; this should probably never be used, except to determine the size of VUserType for type_selector. More...

#include <variant.h>

Inherits Variant::UserTypeBase.

Public Member Functions

 VUserType ()
 Default constructor.
 
 VUserType (void *const t)
 
 ~VUserType () override
 Destructor.
 
VUserType< void * > * clone (char *data) const override
 in-place clone
 
void copy (const UserTypeBase *base) override
 copy from base pointer, uses reinterpret_cast to upcast (careful!).
 

Static Public Member Functions

static bool isValue ()
 Checks if the user type holds the literal value of T, or a pointer to it.
 

Public Attributes

void * t_
 The actual value being stored.
 

Static Public Attributes

static int typeNumber_
 The typeNumber_ used to uniquely identify the type.
 

Detailed Description

Template specialization for void pointers; this should probably never be used, except to determine the size of VUserType for type_selector.


The documentation for this class was generated from the following file: