Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
cIntGenFactory< Gen, Args > Class Template Reference

#include <IntGen.h>

Public Types

using Generator = Gen
 

Public Member Functions

 cIntGenFactory (Args &&... a_args)
 
template<class LhsGen >
std::shared_ptr< Gen > construct (LhsGen &&a_Lhs)
 

Private Member Functions

template<class LhsGen , int... S>
std::shared_ptr< Gen > construct_impl (LhsGen &&a_Lhs, sSeq< S... >)
 

Private Attributes

std::tuple< Args... > m_args
 

Detailed Description

template<class Gen, class... Args>
class cIntGenFactory< Gen, Args >

Definition at line 92 of file IntGen.h.

Member Typedef Documentation

◆ Generator

template<class Gen , class... Args>
using cIntGenFactory< Gen, Args >::Generator = Gen

Definition at line 97 of file IntGen.h.

Constructor & Destructor Documentation

◆ cIntGenFactory()

template<class Gen , class... Args>
cIntGenFactory< Gen, Args >::cIntGenFactory ( Args &&...  a_args)
inline

Definition at line 99 of file IntGen.h.

Member Function Documentation

◆ construct()

template<class Gen , class... Args>
template<class LhsGen >
std::shared_ptr<Gen> cIntGenFactory< Gen, Args >::construct ( LhsGen &&  a_Lhs)
inline

Definition at line 105 of file IntGen.h.

◆ construct_impl()

template<class Gen , class... Args>
template<class LhsGen , int... S>
std::shared_ptr<Gen> cIntGenFactory< Gen, Args >::construct_impl ( LhsGen &&  a_Lhs,
sSeq< S... >   
)
inlineprivate

Definition at line 115 of file IntGen.h.

Member Data Documentation

◆ m_args

template<class Gen , class... Args>
std::tuple<Args...> cIntGenFactory< Gen, Args >::m_args
private

Definition at line 112 of file IntGen.h.


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