A set of Evidence items which all originate from the same point int time. More...
#include <EvidenceSet.h>
Public Types | |
typedef std::vector< Evidence * >::const_iterator | const_iterator |
Public Member Functions | |
void | add (Evidence *ev) |
Adds evidence to the evidence set. More... | |
std::vector< Evidence * >::const_iterator | begin () const |
std::vector< Evidence * >::const_iterator | end () const |
EvidenceSet () | |
const Time & | getTimestamp () const |
Returns the time from which all evidence in the set originates. More... | |
unsigned int | size () const |
Returns the number of evidence items in the set. More... | |
virtual | ~EvidenceSet () |
Protected Attributes | |
std::vector< Evidence * > | evidence_ |
Collection of evidence items. More... | |
Time | timestamp_ |
The time from which all evidence in the set originates. More... | |
A set of Evidence items which all originate from the same point int time.
Definition at line 55 of file EvidenceSet.h.
typedef std::vector<Evidence*>::const_iterator mhf::EvidenceSet::const_iterator |
Definition at line 93 of file EvidenceSet.h.
mhf::EvidenceSet::EvidenceSet | ( | ) |
Definition at line 13 of file EvidenceSet.cpp.
|
virtual |
Definition at line 16 of file EvidenceSet.cpp.
void mhf::EvidenceSet::add | ( | Evidence * | ev | ) |
Adds evidence to the evidence set.
ev | The evidence |
Definition at line 20 of file EvidenceSet.cpp.
std::vector< Evidence * >::const_iterator mhf::EvidenceSet::begin | ( | ) | const |
Returns a read-only (constant) iterator that points to the first evidence item in the evidence set
Definition at line 37 of file EvidenceSet.cpp.
std::vector< Evidence * >::const_iterator mhf::EvidenceSet::end | ( | ) | const |
Returns a read-only (constant) iterator that points one past the last evidence item in the evidence set
Definition at line 41 of file EvidenceSet.cpp.
const Time & mhf::EvidenceSet::getTimestamp | ( | ) | const |
Returns the time from which all evidence in the set originates.
Definition at line 33 of file EvidenceSet.cpp.
unsigned int mhf::EvidenceSet::size | ( | ) | const |
Returns the number of evidence items in the set.
Definition at line 29 of file EvidenceSet.cpp.
|
protected |
Collection of evidence items.
Definition at line 101 of file EvidenceSet.h.
|
protected |
The time from which all evidence in the set originates.
Definition at line 98 of file EvidenceSet.h.