Public Types | Public Member Functions | Protected Attributes
mhf::EvidenceSet Class Reference

A set of Evidence items which all originate from the same point int time. More...

#include <EvidenceSet.h>

List of all members.

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 TimegetTimestamp () 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.

Detailed Description

A set of Evidence items which all originate from the same point int time.

Author:
Sjoerd van den Dries
Date:
December, 2012

Definition at line 55 of file EvidenceSet.h.


Member Typedef Documentation

Definition at line 93 of file EvidenceSet.h.


Constructor & Destructor Documentation

Definition at line 13 of file EvidenceSet.cpp.

Definition at line 16 of file EvidenceSet.cpp.


Member Function Documentation

Adds evidence to the evidence set.

Parameters:
evThe evidence

Definition at line 20 of file EvidenceSet.cpp.

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.

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.

Returns the time from which all evidence in the set originates.

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.

Returns:
The number of evidence items in the set

Definition at line 29 of file EvidenceSet.cpp.


Member Data Documentation

Collection of evidence items.

Definition at line 101 of file EvidenceSet.h.

The time from which all evidence in the set originates.

Definition at line 98 of file EvidenceSet.h.


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


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Tue Jan 7 2014 11:43:19