LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey > Struct Template Reference

#include "oral.h"

+ Inheritance diagram for LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >:

Public Member Functions

template<bool B = HasPKey>
 AdaptDelete (const QSqlDatabase &db, const CachedFieldsData &data, std::enable_if_t< B > *=nullptr)
 
template<bool B = HasPKey>
 AdaptDelete (const QSqlDatabase &, const CachedFieldsData &, std::enable_if_t<!B > *=nullptr)
 
template<bool B = HasPKey>
std::enable_if_t< B > operator() (const Seq &seq)
 

Public Attributes

std::function< void(Seq)> Deleter_
 

Detailed Description

template<typename Seq, bool HasPKey = HasPKey<Seq>>
struct LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >

Definition at line 472 of file oral.h.

Constructor & Destructor Documentation

◆ AdaptDelete() [1/2]

template<typename Seq, bool HasPKey = HasPKey<Seq>>
template<bool B = HasPKey>
LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >::AdaptDelete ( const QSqlDatabase &  db,
const CachedFieldsData data,
std::enable_if_t< B > *  = nullptr 
)
inline

Definition at line 477 of file oral.h.

◆ AdaptDelete() [2/2]

template<typename Seq, bool HasPKey = HasPKey<Seq>>
template<bool B = HasPKey>
LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >::AdaptDelete ( const QSqlDatabase &  ,
const CachedFieldsData ,
std::enable_if_t<!B > *  = nullptr 
)
inline

Definition at line 498 of file oral.h.

Member Function Documentation

◆ operator()()

template<typename Seq, bool HasPKey = HasPKey<Seq>>
template<bool B = HasPKey>
std::enable_if_t<B> LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >::operator() ( const Seq &  seq)
inline

Definition at line 503 of file oral.h.

Member Data Documentation

◆ Deleter_

template<typename Seq, bool HasPKey = HasPKey<Seq>>
std::function<void (Seq)> LeechCraft::Util::oral::detail::AdaptDelete< Seq, HasPKey >::Deleter_

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