CMS 3D CMS Logo

Public Member Functions | Private Attributes

FWHtml Class Reference

List of all members.

Public Member Functions

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

Private Attributes

std::set< std::string > m_visited

Detailed Description

Definition at line 18 of file CmsShowSearchFiles.cc.


Constructor & Destructor Documentation

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

Definition at line 20 of file CmsShowSearchFiles.cc.

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

Member Function Documentation

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

Definition at line 29 of file CmsShowSearchFiles.cc.

References m_visited.

Referenced by CmsShowSearchFiles::hyperlinkClicked().

                                           {
      m_visited.insert(iToVisit);
   }
int FWHtml::IsVisited ( const char *  iCheck) [inline]

Definition at line 23 of file CmsShowSearchFiles.cc.

References CastorDataFrameFilter_impl::check(), m_visited, and relativeConstraints::value.

                                      {
      std::string check(GetBaseUri());
      check +=iCheck;
      int value = m_visited.find(check)==m_visited.end()?kFALSE:kTRUE;
      return value;
   }

Member Data Documentation

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

Definition at line 33 of file CmsShowSearchFiles.cc.

Referenced by addToVisited(), and IsVisited().