Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CDMud< Evidence > Class Template Reference

#include <CDMud.h>

List of all members.

Public Member Functions

virtual ~CDMud ()
virtual ~CDMud ()

Static Public Member Functions

void clear ()
void clear ()
std::vector< const CDFootPrint * > & footprints ()
std::vector< const CDFootPrint * > & footprints ()
const CDFootPrintget (const Evidence *aEvidence)
const CDFootPrintget (const Evidence *aEvidence)

Private Member Functions

 CDMud (const CDMud &aOtherCDMud)
 CDMud ()
 CDMud (const CDMud &aOtherCDMud)
 CDMud ()
const CDMudoperator= (const CDMud &aOtherCDMud)
const CDMudoperator= (const CDMud &aOtherCDMud)

template<class Evidence>
class CDMud< Evidence >


Constructor & Destructor Documentation

template<class Evidence>
virtual CDMud< Evidence >::~CDMud  )  [inline, virtual]
 

00054 {}

template<class Evidence>
CDMud< Evidence >::CDMud  )  [private]
 

template<class Evidence>
CDMud< Evidence >::CDMud const CDMud< Evidence > &  aOtherCDMud  )  [private]
 

template<class Evidence>
virtual CDMud< Evidence >::~CDMud  )  [inline, virtual]
 

00054 {}

template<class Evidence>
CDMud< Evidence >::CDMud  )  [private]
 

template<class Evidence>
CDMud< Evidence >::CDMud const CDMud< Evidence > &  aOtherCDMud  )  [private]
 


Member Function Documentation

template<class Evidence>
void CDMud< Evidence >::clear  )  [static]
 

template<class Evidence>
void CDMud< Evidence >::clear  )  [static]
 

00073 {
00074    vector< const CDFootPrint* >& prints( footprints() ) ;
00075    vector< const CDFootPrint* >::const_iterator finished( prints.end() ) ;
00076    for ( vector< const CDFootPrint* >::const_iterator print( prints.begin() ) ;
00077          finished != print ;
00078          ++print ) {
00079 
00080       // cast way const for delete to work
00081       delete ( (CDFootPrint*)(*print) ) ;
00082    }
00083    prints.erase( prints.begin() ,
00084                  prints.end() ) ;
00085 }

template<class Evidence>
std::vector< const CDFootPrint* >& CDMud< Evidence >::footprints  )  [static]
 

template<class Evidence>
vector< const CDFootPrint * > & CDMud< Evidence >::footprints  )  [static]
 

00090 {
00091    static vector< const CDFootPrint* > prints ;
00092    return ( prints ) ;
00093 }

template<class Evidence>
const CDFootPrint& CDMud< Evidence >::get const Evidence *  aEvidence  )  [static]
 

template<class Evidence>
const CDFootPrint & CDMud< Evidence >::get const Evidence *  aEvidence  )  [static]
 

00060 {
00061    unsigned int id( aEvidence->trackId() ) ;
00062    vector< const CDFootPrint* >& prints( footprints() ) ;
00063    while ( id >= prints.size() ) {
00064       CDFootPrint* tmp( new CDFootPrint ) ;
00065       (*tmp).fresh() ;
00066       prints.push_back( tmp ) ;
00067    }
00068    return ( *(prints[ id ]) ) ;
00069 }

template<class Evidence>
const CDMud& CDMud< Evidence >::operator= const CDMud< Evidence > &  aOtherCDMud  )  [private]
 

template<class Evidence>
const CDMud& CDMud< Evidence >::operator= const CDMud< Evidence > &  aOtherCDMud  )  [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 15:56:05 2011 for BOSS6.5.5 by  doxygen 1.3.9.1