CMS 3D CMS Logo

Description Class Reference

#include <PhysicsTools/UtilAlgos/interface/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.

00023 {}

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

Definition at line 24 of file CachingVariable.h.

00024 : 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().

00032 {d_.push_back(l);}

const std::vector<std::string> Description::lines (  )  [inline]

Definition at line 31 of file CachingVariable.h.

References d_.

00031 {return d_;}

std::string Description::text ( void   )  const [inline]

Definition at line 25 of file CachingVariable.h.

References d_, and i.

Referenced by CachingVariable::print().

00025                          {
00026     std::string text;
00027     for (uint i=0;i!=d_.size();++i) 
00028       text+=d_[i]+"\n";
00029     return text;
00030   }


Member Data Documentation

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

Definition at line 34 of file CachingVariable.h.

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


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:23 2009 for CMSSW by  doxygen 1.5.4