CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::DB::ConstructImpl< CommandType, ImplType > Struct Template Reference

#include <DBInterface.hh>

Detailed Description

template<typename CommandType, template< typename > class ImplType = CommandType::template Impl>
struct CASM::DB::ConstructImpl< CommandType, ImplType >

Definition at line 21 of file DBInterface.hh.

Public Types

typedef CommandType::ImplBase ImplBase
 
template<typename DataObject >
using Impl = ImplType< DataObject >
 

Public Member Functions

 ConstructImpl (std::unique_ptr< ImplBase > &_impl, const CommandType &_cmd)
 
template<typename T >
void eval ()
 

Public Attributes

std::unique_ptr< ImplBase > & impl
 
const CommandType & cmd
 

Member Typedef Documentation

◆ Impl

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
template<typename DataObject >
using CASM::DB::ConstructImpl< CommandType, ImplType >::Impl = ImplType<DataObject>

Definition at line 24 of file DBInterface.hh.

◆ ImplBase

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
typedef CommandType::ImplBase CASM::DB::ConstructImpl< CommandType, ImplType >::ImplBase

Definition at line 22 of file DBInterface.hh.

Constructor & Destructor Documentation

◆ ConstructImpl()

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
CASM::DB::ConstructImpl< CommandType, ImplType >::ConstructImpl ( std::unique_ptr< ImplBase > &  _impl,
const CommandType &  _cmd 
)
inline

Definition at line 26 of file DBInterface.hh.

Member Function Documentation

◆ eval()

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
template<typename T >
void CASM::DB::ConstructImpl< CommandType, ImplType >::eval ( )
inline

Definition at line 30 of file DBInterface.hh.

Member Data Documentation

◆ cmd

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
const CommandType& CASM::DB::ConstructImpl< CommandType, ImplType >::cmd

Definition at line 35 of file DBInterface.hh.

◆ impl

template<typename CommandType , template< typename > class ImplType = CommandType::template Impl>
std::unique_ptr<ImplBase>& CASM::DB::ConstructImpl< CommandType, ImplType >::impl

Definition at line 34 of file DBInterface.hh.


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