CMS 3D CMS Logo

List of all members | Public Member Functions
DDHtmlSpDetails Class Reference

#include <DDHtmlFormatter.h>

Inheritance diagram for DDHtmlSpDetails:
DDHtmlDetails

Public Member Functions

 DDHtmlSpDetails (const std::string &cat, const std::string &txt)
 
bool details (std::ostream &os, const DDName &) override
 
ns_typenames () override
 
- Public Member Functions inherited from DDHtmlDetails
const std::string & category ()
 
 DDHtmlDetails (const std::string &cat, const std::string &txt)
 
const std::string & text ()
 
virtual ~DDHtmlDetails ()
 

Additional Inherited Members

- Protected Attributes inherited from DDHtmlDetails
std::string cat_
 
DDHtmlFormatter f_
 
ns_type names_
 
std::string txt_
 

Detailed Description

Definition at line 191 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

◆ DDHtmlSpDetails()

DDHtmlSpDetails::DDHtmlSpDetails ( const std::string &  cat,
const std::string &  txt 
)
inline

Definition at line 193 of file DDHtmlFormatter.h.

193 : DDHtmlDetails(cat, txt) {}
def cat(path)
Definition: eostools.py:401
DDHtmlDetails(const std::string &cat, const std::string &txt)

Member Function Documentation

◆ details()

bool DDHtmlSpDetails::details ( std::ostream &  os,
const DDName  
)
overridevirtual

Implements DDHtmlDetails.

Definition at line 123 of file DDHtmlFormatter.cc.

References DDHtmlDetails::f_, DDHtmlFormatter::h3(), and DDHtmlFormatter::header().

123  {
124  os << f_.header("SpecPars Details") << f_.h3(">> formatting under construction <<");
125  os << DDSpecifics(nm);
126  return true;
127 }
DDHtmlFormatter h3(const std::string &content)
DDHtmlFormatter f_
DDHtmlFormatter header(const std::string &text, const std::string &style="../../style.css")
Interface to attach user specific data to nodes in the expanded-view.
Definition: DDSpecifics.h:41

◆ names()

ns_type & DDHtmlSpDetails::names ( void  )
overridevirtual

Implements DDHtmlDetails.

Definition at line 105 of file DDHtmlFormatter.cc.

References findNameSpaces(), and DDHtmlDetails::names_.

105  {
106  DDSpecifics lp;
107  findNameSpaces(lp, names_);
108  return names_;
109 }
bool findNameSpaces(T dummy, ns_type &m)
Interface to attach user specific data to nodes in the expanded-view.
Definition: DDSpecifics.h:41