CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
DDHtmlDetails Class Referenceabstract

#include <DDHtmlFormatter.h>

Inheritance diagram for DDHtmlDetails:
DDHtmlLpDetails DDHtmlMaDetails DDHtmlRoDetails DDHtmlSoDetails DDHtmlSpDetails

Public Member Functions

const std::string & category ()
 
 DDHtmlDetails (const std::string &cat, const std::string &txt)
 
virtual bool details (std::ostream &os, const DDName &)=0
 
virtual ns_typenames ()=0
 
const std::string & text ()
 
virtual ~DDHtmlDetails ()
 

Protected Attributes

std::string cat_
 
DDHtmlFormatter f_
 
ns_type names_
 
std::string txt_
 

Detailed Description

Definition at line 148 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

◆ DDHtmlDetails()

DDHtmlDetails::DDHtmlDetails ( const std::string &  cat,
const std::string &  txt 
)

Definition at line 85 of file DDHtmlFormatter.cc.

85 : cat_(cat), txt_(txt) {}
std::string cat_
def cat(path)
Definition: eostools.py:401
std::string txt_

◆ ~DDHtmlDetails()

virtual DDHtmlDetails::~DDHtmlDetails ( )
inlinevirtual

Definition at line 153 of file DDHtmlFormatter.h.

153 {}

Member Function Documentation

◆ category()

const std::string& DDHtmlDetails::category ( void  )
inline

Definition at line 154 of file DDHtmlFormatter.h.

References cat_.

Referenced by dd_to_html().

154 { return cat_; }
std::string cat_

◆ details()

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

◆ names()

virtual ns_type& DDHtmlDetails::names ( )
pure virtual

◆ text()

const std::string& DDHtmlDetails::text ( )
inline

Definition at line 155 of file DDHtmlFormatter.h.

References txt_.

Referenced by dd_to_html().

155 { return txt_; }
std::string txt_

Member Data Documentation

◆ cat_

std::string DDHtmlDetails::cat_
protected

Definition at line 159 of file DDHtmlFormatter.h.

Referenced by category().

◆ f_

DDHtmlFormatter DDHtmlDetails::f_
protected

◆ names_

ns_type DDHtmlDetails::names_
mutableprotected

◆ txt_

std::string DDHtmlDetails::txt_
protected

Definition at line 159 of file DDHtmlFormatter.h.

Referenced by text().