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) {}

Member Function Documentation

◆ addLine()

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

Definition at line 32 of file CachingVariable.h.

32 { d_.push_back(l); }

References d_, and cmsLHEtoEOSManager::l.

Referenced by CachingVariable::addDescriptionLine().

◆ lines()

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

Definition at line 31 of file CachingVariable.h.

31 { return d_; }

References d_.

◆ text()

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

Definition at line 25 of file CachingVariable.h.

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

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

Referenced by CachingVariable::print().

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

mps_fire.i
i
Definition: mps_fire.py:428
Description::text
std::string text() const
Definition: CachingVariable.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
Description::d_
std::vector< std::string > d_
Definition: CachingVariable.h:35
ztail.d
d
Definition: ztail.py:151