Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Variant< TYPES >::Buffer Struct Referenceabstract

Description

template<typename TYPES>
struct lib::Variant< TYPES >::Buffer

Inner capsule managing the contained object (interface)

Definition at line 264 of file variant.hpp.

Public Attributes

std::byte content_ [SIZ]
 

Public Member Functions

void * ptr ()
 
virtual ~Buffer ()
 this is an ABC with VTable
 
virtual void dispatch (Visitor &)=0
 
virtual bool dispatch (Predicate &) const =0
 
virtual string dispatch (Renderer &) const =0
 
virtual operator string () const =0
 
- Public Member Functions inherited from VirtualCopySupportInterface< Buffer >
virtual ~VirtualCopySupportInterface ()
 
virtual void copyInto (void *targetStorage) const=0
 
virtual void copyInto (Buffer &target) const=0
 
virtual void moveInto (void *targetStorage)=0
 
virtual void moveInto (Buffer &target)=0
 

Constructor & Destructor Documentation

◆ ~Buffer()

template<typename TYPES >
virtual ~Buffer ( )
inlinevirtual

this is an ABC with VTable

Definition at line 273 of file variant.hpp.

Referenced by Variant< TYPES >::~Variant().

+ Here is the caller graph for this function:

Member Function Documentation

◆ ptr()

template<typename TYPES >
void * ptr ( )
inline

Definition at line 270 of file variant.hpp.

References Variant< TYPES >::Buffer::content_.

Referenced by Variant< TYPES >::Buff< TY >::Buff(), Variant< TYPES >::Buff< TY >::Buff(), Variant< TYPES >::Buff< TY >::Buff(), Variant< TYPES >::Buff< TY >::Buff(), Variant< TYPES >::Buff< TY >::operator=(), and Variant< TYPES >::Buff< TY >::operator=().

+ Here is the caller graph for this function:

◆ dispatch() [1/3]

template<typename TYPES >
virtual void dispatch ( Visitor )
pure virtual

Referenced by Variant< TYPES >::accept(), Variant< TYPES >::accept(), and Variant< TYPES >::accept().

+ Here is the caller graph for this function:

◆ dispatch() [2/3]

template<typename TYPES >
virtual bool dispatch ( Predicate ) const
pure virtual

◆ dispatch() [3/3]

template<typename TYPES >
virtual string dispatch ( Renderer ) const
pure virtual

◆ operator string()

template<typename TYPES >
virtual operator string ( ) const
pure virtual

Member Data Documentation

◆ content_

template<typename TYPES >
std::byte content_[SIZ]

Definition at line 268 of file variant.hpp.

Referenced by Variant< TYPES >::Buffer::ptr().

+ Inheritance diagram for Variant< TYPES >::Buffer:
+ Collaboration diagram for Variant< TYPES >::Buffer:

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