CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 &)
 
ns_typenames ()
 
- 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 146 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

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

Definition at line 149 of file DDHtmlFormatter.h.

149 : DDHtmlDetails(cat,txt) {}
def cat
Definition: eostools.py:400
DDHtmlDetails(const std::string &cat, const std::string &txt)

Member Function Documentation

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

Implements DDHtmlDetails.

Definition at line 120 of file DDHtmlFormatter.cc.

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

121 {
122  os << f_.header("Solid Details")
123  << f_.h3(">> formatting under construction <<");
124  os << DDSolid(nm); return true;
125 }
DDHtmlFormatter h3(const std::string &content)
A DDSolid represents the shape of a part.
Definition: DDSolid.h:35
DDHtmlFormatter f_
DDHtmlFormatter header(const std::string &text, const std::string &style="../../style.css")
ns_type & DDHtmlSoDetails::names ( void  )
virtual

Implements DDHtmlDetails.

Definition at line 98 of file DDHtmlFormatter.cc.

References findNameSpaces(), and DDHtmlDetails::names_.

99 {
100  DDSolid lp;
101  findNameSpaces(lp, names_);
102  return names_;
103 }
A DDSolid represents the shape of a part.
Definition: DDSolid.h:35
bool findNameSpaces(T dummy, ns_type &m)