CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FWHtml Class Reference
Inheritance diagram for FWHtml:

Public Member Functions

void addToVisited (const char *iToVisit)
 
 FWHtml (const TGWindow *p, int w, int h, int id=-1)
 
int IsVisited (const char *iCheck) override
 

Private Attributes

std::set< std::string > m_visited
 

Detailed Description

Definition at line 23 of file CmsShowSearchFiles.cc.

Constructor & Destructor Documentation

◆ FWHtml()

FWHtml::FWHtml ( const TGWindow *  p,
int  w,
int  h,
int  id = -1 
)
inline

Definition at line 25 of file CmsShowSearchFiles.cc.

25 : TGHtml(p, w, h, id) {}

Member Function Documentation

◆ addToVisited()

void FWHtml::addToVisited ( const char *  iToVisit)
inline

Definition at line 33 of file CmsShowSearchFiles.cc.

33 { m_visited.insert(iToVisit); }

References m_visited.

Referenced by CmsShowSearchFiles::hyperlinkClicked().

◆ IsVisited()

int FWHtml::IsVisited ( const char *  iCheck)
inlineoverride

Definition at line 27 of file CmsShowSearchFiles.cc.

27  {
28  std::string check(GetBaseUri());
29  check += iCheck;
30  int value = m_visited.find(check) == m_visited.end() ? kFALSE : kTRUE;
31  return value;
32  }

References RPCNoise_example::check, m_visited, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.

Member Data Documentation

◆ m_visited

std::set<std::string> FWHtml::m_visited
private

Definition at line 36 of file CmsShowSearchFiles.cc.

Referenced by addToVisited(), and IsVisited().

FWHtml::m_visited
std::set< std::string > m_visited
Definition: CmsShowSearchFiles.cc:36
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
RPCNoise_example.check
check
Definition: RPCNoise_example.py:71
w
const double w
Definition: UKUtility.cc:23
h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
value
Definition: value.py:1
relativeConstraints.value
value
Definition: relativeConstraints.py:53