OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SpeculativeTopNFailed Class Reference

#include <SpeculativeTopN.h>

+ Inheritance diagram for SpeculativeTopNFailed:
+ Collaboration diagram for SpeculativeTopNFailed:

Public Member Functions

 SpeculativeTopNFailed (const std::string &msg)
 
 SpeculativeTopNFailed ()
 
bool failedDuringIteration () const
 

Private Attributes

bool failed_during_iteration_
 

Detailed Description

Definition at line 79 of file SpeculativeTopN.h.

Constructor & Destructor Documentation

SpeculativeTopNFailed::SpeculativeTopNFailed ( const std::string &  msg)
inline

Definition at line 81 of file SpeculativeTopN.h.

82  : std::runtime_error("SpeculativeTopNFailed: " + msg)
83  , failed_during_iteration_(false) {}
SpeculativeTopNFailed::SpeculativeTopNFailed ( )
inline

Definition at line 85 of file SpeculativeTopN.h.

86  : std::runtime_error("SpeculativeTopNFailed"), failed_during_iteration_(true) {}

Member Function Documentation

bool SpeculativeTopNFailed::failedDuringIteration ( ) const
inline

Definition at line 88 of file SpeculativeTopN.h.

References failed_during_iteration_.

Member Data Documentation

bool SpeculativeTopNFailed::failed_during_iteration_
private

Definition at line 91 of file SpeculativeTopN.h.

Referenced by failedDuringIteration().


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