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. | |
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. | |
unsigned int | size () const |
Returns the number of evidence items in the set. | |
virtual | ~EvidenceSet () |
Protected Attributes | |
std::vector< Evidence * > | evidence_ |
Collection of evidence items. | |
Time | timestamp_ |
The time from which all evidence in the set originates. |
A set of Evidence items which all originate from the same point int time.
Definition at line 55 of file EvidenceSet.h.
Definition at line 93 of file EvidenceSet.h.
Definition at line 13 of file EvidenceSet.cpp.
mhf::EvidenceSet::~EvidenceSet | ( | ) | [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.
std::vector<Evidence*> mhf::EvidenceSet::evidence_ [protected] |
Collection of evidence items.
Definition at line 101 of file EvidenceSet.h.
Time mhf::EvidenceSet::timestamp_ [protected] |
The time from which all evidence in the set originates.
Definition at line 98 of file EvidenceSet.h.