Ariles
Public Member Functions | Public Attributes | List of all members
ariles2::aggregate::BaseVisitorWrapper< t_Visitor > Class Template Reference

Detailed Description

template<class t_Visitor>
class ariles2::aggregate::BaseVisitorWrapper< t_Visitor >

Definition at line 109 of file aggregate.h.

#include <aggregate.h>

Inheritance diagram for ariles2::aggregate::BaseVisitorWrapper< t_Visitor >:
ariles2::aggregate::BaseVisitor< t_Visitor, t_Visitors... >

Public Member Functions

template<class... t_Args>
 BaseVisitorWrapper (const std::tuple< t_Args... > &args_tuple)
 
template<class t_GetVisitor , typename = std::enable_if_t< std::is_same<t_GetVisitor, t_Visitor>::value or std::is_base_of<t_GetVisitor, t_Visitor>::value>>
t_Visitor & get ()
 
template<class t_GetVisitor , typename = std::enable_if_t< std::is_same<t_GetVisitor, t_Visitor>::value or std::is_base_of<t_GetVisitor, t_Visitor>::value>>
const t_Visitor & get () const
 

Public Attributes

t_Visitor visitor_
 

Constructor & Destructor Documentation

◆ BaseVisitorWrapper()

template<class t_Visitor >
template<class... t_Args>
ariles2::aggregate::BaseVisitorWrapper< t_Visitor >::BaseVisitorWrapper ( const std::tuple< t_Args... > &  args_tuple)
inlineexplicit

Definition at line 116 of file aggregate.h.

Member Function Documentation

◆ get() [1/2]

template<class t_Visitor >
template<class t_GetVisitor , typename = std::enable_if_t< std::is_same<t_GetVisitor, t_Visitor>::value or std::is_base_of<t_GetVisitor, t_Visitor>::value>>
t_Visitor& ariles2::aggregate::BaseVisitorWrapper< t_Visitor >::get ( )
inline

Definition at line 126 of file aggregate.h.

◆ get() [2/2]

template<class t_Visitor >
template<class t_GetVisitor , typename = std::enable_if_t< std::is_same<t_GetVisitor, t_Visitor>::value or std::is_base_of<t_GetVisitor, t_Visitor>::value>>
const t_Visitor& ariles2::aggregate::BaseVisitorWrapper< t_Visitor >::get ( ) const
inline

Definition at line 136 of file aggregate.h.

Member Data Documentation

◆ visitor_

template<class t_Visitor >
t_Visitor ariles2::aggregate::BaseVisitorWrapper< t_Visitor >::visitor_

Definition at line 112 of file aggregate.h.


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