CMS 3D CMS Logo

List of all members | Public Member Functions
DDHtmlSoDetails Class Reference

#include <DDHtmlFormatter.h>

Inheritance diagram for DDHtmlSoDetails:
DDHtmlDetails

Public Member Functions

 DDHtmlSoDetails (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 177 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

◆ DDHtmlSoDetails()

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

Definition at line 179 of file DDHtmlFormatter.h.

179 : DDHtmlDetails(cat, txt) {}

Member Function Documentation

◆ details()

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

Implements DDHtmlDetails.

Definition at line 117 of file DDHtmlFormatter.cc.

117  {
118  os << f_.header("Solid Details") << f_.h3(">> formatting under construction <<");
119  os << DDSolid(nm);
120  return true;
121 }

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

◆ names()

ns_type & DDHtmlSoDetails::names ( void  )
overridevirtual

Implements DDHtmlDetails.

Definition at line 99 of file DDHtmlFormatter.cc.

99  {
100  DDSolid lp;
101  findNameSpaces(lp, names_);
102  return names_;
103 }

References findNameSpaces(), and DDHtmlDetails::names_.

DDHtmlFormatter::h3
DDHtmlFormatter h3(const std::string &content)
Definition: DDHtmlFormatter.h:64
eostools.cat
def cat(path)
Definition: eostools.py:401
findNameSpaces
bool findNameSpaces(T dummy, ns_type &m)
Definition: DDErrorDetection.h:68
DDHtmlDetails::DDHtmlDetails
DDHtmlDetails(const std::string &cat, const std::string &txt)
Definition: DDHtmlFormatter.cc:85
DDHtmlFormatter::header
DDHtmlFormatter header(const std::string &text, const std::string &style="../../style.css")
Definition: DDHtmlFormatter.cc:40
DDHtmlDetails::names_
ns_type names_
Definition: DDHtmlFormatter.h:158
DDSolid
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
DDHtmlDetails::f_
DDHtmlFormatter f_
Definition: DDHtmlFormatter.h:160