CMS 3D CMS Logo

Public Member Functions | Private Attributes

Description Class Reference

#include <CachingVariable.h>

List of all members.

Public Member Functions

void addLine (const std::string &l)
 Description (std::vector< std::string > &d)
 Description ()
const std::vector< std::string > lines ()
std::string text () const

Private Attributes

std::vector< std::string > d_

Detailed Description

Definition at line 21 of file CachingVariable.h.


Constructor & Destructor Documentation

Description::Description ( ) [inline]

Definition at line 23 of file CachingVariable.h.

{}
Description::Description ( std::vector< std::string > &  d) [inline]

Definition at line 24 of file CachingVariable.h.

: d_(d){}

Member Function Documentation

void Description::addLine ( const std::string &  l) [inline]

Definition at line 32 of file CachingVariable.h.

References d_.

Referenced by CachingVariable::addDescriptionLine().

{d_.push_back(l);}
const std::vector<std::string> Description::lines ( ) [inline]

Definition at line 31 of file CachingVariable.h.

References d_.

{return d_;}
std::string Description::text ( ) const [inline]

Definition at line 25 of file CachingVariable.h.

References d_, i, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by CachingVariable::print().

                         {
    std::string text;
    for (unsigned int i=0;i!=d_.size();++i) 
      text+=d_[i]+"\n";
    return text;
  }

Member Data Documentation

std::vector<std::string> Description::d_ [private]

Definition at line 34 of file CachingVariable.h.

Referenced by addLine(), lines(), and text().