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

#include "oral.h"

+ Inheritance diagram for LC::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) noexcept
 
template<bool B = HasPKey>
 AdaptDelete (const QSqlDatabase &, const CachedFieldsData &, std::enable_if_t<!B > *=nullptr) noexcept
 
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 LC::Util::oral::detail::AdaptDelete< Seq, HasPKey >

Definition at line 458 of file oral.h.

Constructor & Destructor Documentation

◆ AdaptDelete() [1/2]

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

Definition at line 463 of file oral.h.

◆ AdaptDelete() [2/2]

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

Definition at line 484 of file oral.h.

Member Function Documentation

◆ operator()()

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

Definition at line 489 of file oral.h.

Member Data Documentation

◆ Deleter_

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

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