OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 81 of file SpeculativeTopN.h.

Constructor & Destructor Documentation

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

Definition at line 83 of file SpeculativeTopN.h.

84  : std::runtime_error("SpeculativeTopNFailed: " + msg)
85  , failed_during_iteration_(false) {}
SpeculativeTopNFailed::SpeculativeTopNFailed ( )
inline

Definition at line 87 of file SpeculativeTopN.h.

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

Member Function Documentation

bool SpeculativeTopNFailed::failedDuringIteration ( ) const
inline

Definition at line 90 of file SpeculativeTopN.h.

References failed_during_iteration_.

Member Data Documentation

bool SpeculativeTopNFailed::failed_during_iteration_
private

Definition at line 93 of file SpeculativeTopN.h.

Referenced by failedDuringIteration().


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