LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::ConsistencyChecker Class Reference

#include "consistencychecker.h"

+ Inheritance diagram for LeechCraft::Util::ConsistencyChecker:
+ Collaboration diagram for LeechCraft::Util::ConsistencyChecker:

Classes

struct  DumpError
 
struct  DumpFinished
 
struct  IFailed
 
struct  Succeeded
 

Public Types

using DumpResult_t = boost::variant< DumpFinished, DumpError >
 
using Failed = std::shared_ptr< IFailed >
 
using CheckResult_t = boost::variant< Succeeded, Failed >
 

Public Member Functions

QFuture< CheckResult_tStartCheck ()
 

Static Public Member Functions

static std::shared_ptr< ConsistencyCheckerCreate (const QString &dbPath, const QString &dialogContext)
 

Friends

class FailedImpl
 

Detailed Description

Definition at line 47 of file consistencychecker.h.

Member Typedef Documentation

◆ CheckResult_t

Definition at line 77 of file consistencychecker.h.

◆ DumpResult_t

◆ Failed

Definition at line 75 of file consistencychecker.h.

Member Function Documentation

◆ Create()

std::shared_ptr< ConsistencyChecker > LeechCraft::Util::ConsistencyChecker::Create ( const QString &  dbPath,
const QString &  dialogContext 
)
static

Definition at line 71 of file consistencychecker.cpp.

◆ StartCheck()

QFuture< ConsistencyChecker::CheckResult_t > LeechCraft::Util::ConsistencyChecker::StartCheck ( )

Definition at line 76 of file consistencychecker.cpp.

Friends And Related Function Documentation

◆ FailedImpl

friend class FailedImpl
friend

Definition at line 53 of file consistencychecker.h.


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