CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Description Class Reference

#include <CachingVariable.h>

Public Member Functions

void addLine (const std::string &l)
 
 Description ()
 
 Description (std::vector< std::string > &d)
 
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() [1/2]

Description::Description ( )
inline

Definition at line 23 of file CachingVariable.h.

23 {}

◆ Description() [2/2]

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

Definition at line 24 of file CachingVariable.h.

24 : d_(d) {}
d
Definition: ztail.py:151
std::vector< std::string > d_

Member Function Documentation

◆ addLine()

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

Definition at line 32 of file CachingVariable.h.

References d_, and MainPageGenerator::l.

Referenced by CachingVariable::addDescriptionLine().

32 { d_.push_back(l); }
std::vector< std::string > d_

◆ lines()

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

Definition at line 31 of file CachingVariable.h.

References d_.

31 { return d_; }
std::vector< std::string > d_

◆ text()

std::string Description::text ( ) const
inline

Definition at line 25 of file CachingVariable.h.

References d_, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by CachingVariable::print().

25  {
27  for (unsigned int i = 0; i != d_.size(); ++i)
28  text += d_[i] + "\n";
29  return text;
30  }
std::string text() const
std::vector< std::string > d_

Member Data Documentation

◆ d_

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

Definition at line 35 of file CachingVariable.h.

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