CMS 3D CMS Logo

Public Member Functions | Private Attributes

HLTPerformanceInfo::Path Class Reference

#include <HLTPerformanceInfo.h>

List of all members.

Public Member Functions

void addModuleRef (size_t m)
ModulesInPath::const_iterator begin ()
void clear ()
ModulesInPath::const_iterator end ()
size_t getModuleIndex (size_t j) const
std::string name () const
size_t numberOfModules () const
bool operator== (const char *tname)
const size_t operator[] (size_t m) const
 Path (const std::string n="unknown")
void setStatus (const edm::HLTPathStatus &result)
edm::HLTPathStatus status () const

Private Attributes

ModulesInPath moduleView_
std::string name_
edm::HLTPathStatus status_

Detailed Description

Definition at line 62 of file HLTPerformanceInfo.h.


Constructor & Destructor Documentation

HLTPerformanceInfo::Path::Path ( const std::string  n = "unknown") [inline]

Definition at line 69 of file HLTPerformanceInfo.h.

                                        : 
      name_(n),
      moduleView_(),
      status_()
    {}

Member Function Documentation

void HLTPerformanceInfo::Path::addModuleRef ( size_t  m) [inline]

Definition at line 96 of file HLTPerformanceInfo.h.

References moduleView_.

                                 {
      moduleView_.push_back(m);
    }
ModulesInPath::const_iterator HLTPerformanceInfo::Path::begin ( void  ) [inline]

Definition at line 100 of file HLTPerformanceInfo.h.

References moduleView_.

                                        {
      return moduleView_.begin();
    }
void HLTPerformanceInfo::Path::clear ( void  ) [inline]

Definition at line 84 of file HLTPerformanceInfo.h.

References edm::HLTPathStatus::reset(), and status_.

                 {
      status_.reset();
      // time is dynamic, nothing to reset
    }
ModulesInPath::const_iterator HLTPerformanceInfo::Path::end ( void  ) [inline]

Definition at line 103 of file HLTPerformanceInfo.h.

References moduleView_.

                                      {
      return moduleView_.end();
    }
size_t HLTPerformanceInfo::Path::getModuleIndex ( size_t  j) const [inline]

Definition at line 106 of file HLTPerformanceInfo.h.

References moduleView_.

                                          {
      return moduleView_.at(j);
    }
std::string HLTPerformanceInfo::Path::name ( ) const [inline]

Definition at line 74 of file HLTPerformanceInfo.h.

References name_.

Referenced by operator==().

                           {
      return name_;
    }
size_t HLTPerformanceInfo::Path::numberOfModules ( ) const [inline]

Definition at line 110 of file HLTPerformanceInfo.h.

References moduleView_.

{ return moduleView_.size(); };
bool HLTPerformanceInfo::Path::operator== ( const char *  tname) [inline]

Definition at line 88 of file HLTPerformanceInfo.h.

References name().

                                        {
      return (std::string(tname) == name());
    }
const size_t HLTPerformanceInfo::Path::operator[] ( size_t  m) const [inline]

Definition at line 92 of file HLTPerformanceInfo.h.

References moduleView_.

                                            {
      return moduleView_.at(m);
    }
void HLTPerformanceInfo::Path::setStatus ( const edm::HLTPathStatus result) [inline]

Definition at line 77 of file HLTPerformanceInfo.h.

References query::result, and status_.

                                                      {
      status_ = result;
    }
edm::HLTPathStatus HLTPerformanceInfo::Path::status ( ) const [inline]

Definition at line 81 of file HLTPerformanceInfo.h.

References status_.

                                    {
      return status_;
    }

Member Data Documentation

std::string HLTPerformanceInfo::Path::name_ [private]

Definition at line 64 of file HLTPerformanceInfo.h.

Referenced by name().

Definition at line 66 of file HLTPerformanceInfo.h.

Referenced by clear(), setStatus(), and status().