Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::HtmlObject Class Referenceabstract
Inheritance diagram for Hal::HtmlObject:
Hal::HtmlCell Hal::HtmlDiv Hal::HtmlRow Hal::HtmlTable Hal::HtmlCellCol Hal::HtmlCellRow

Public Member Functions

 HtmlObject (TString id, TString className, TString style)
 
void SetClass (TString className)
 
virtual void SetDefaultClass ()
 
void SetId (TString id)
 
void SetStyle (TString style)
 
virtual void AddContent (const HtmlObject &obj)
 
void SetStringContent (TString content)
 
TString GetContent () const
 
virtual void AddStringContent (TString text)
 
void AddAtrib (TString name, TString value)
 
virtual TString ToString () const =0
 
 HtmlObject (const HtmlObject &other)
 
HtmlObjectoperator= (const HtmlObject &other)
 

Protected Member Functions

TString GetClass () const
 
TString GetId () const
 
TString GetStyle () const
 
TString GetProperties () const
 
TString GetDefaultString (TString tag) const
 

Detailed Description

Definition at line 14 of file HtmlObject.h.

Constructor & Destructor Documentation

◆ HtmlObject() [1/3]

Hal::HtmlObject::HtmlObject ( )

Definition at line 13 of file HtmlObject.cxx.

◆ HtmlObject() [2/3]

Hal::HtmlObject::HtmlObject ( TString id,
TString className,
TString style )

Definition at line 27 of file HtmlObject.cxx.

◆ ~HtmlObject()

Hal::HtmlObject::~HtmlObject ( )
virtual

Definition at line 15 of file HtmlObject.cxx.

◆ HtmlObject() [3/3]

Hal::HtmlObject::HtmlObject ( const HtmlObject & other)

Definition at line 17 of file HtmlObject.cxx.

Member Function Documentation

◆ AddAtrib()

void Hal::HtmlObject::AddAtrib ( TString name,
TString value )

Definition at line 56 of file HtmlObject.cxx.

◆ AddContent()

void Hal::HtmlObject::AddContent ( const HtmlObject & obj)
virtual

add content to this object (like content of HTML cell

Parameters
obj

Reimplemented in Hal::HtmlCell, Hal::HtmlRow, and Hal::HtmlTable.

Definition at line 25 of file HtmlObject.cxx.

◆ AddStringContent()

virtual void Hal::HtmlObject::AddStringContent ( TString text)
inlinevirtual

Definition at line 62 of file HtmlObject.h.

◆ GetClass()

TString Hal::HtmlObject::GetClass ( ) const
inlineprotected

Definition at line 22 of file HtmlObject.h.

◆ GetContent()

TString Hal::HtmlObject::GetContent ( ) const
inline

Definition at line 61 of file HtmlObject.h.

◆ GetDefaultString()

TString Hal::HtmlObject::GetDefaultString ( TString tag) const
protected

returns default string like <tag properties="properties">content</tag>

Parameters
tag
Returns

Definition at line 49 of file HtmlObject.cxx.

◆ GetId()

TString Hal::HtmlObject::GetId ( ) const
inlineprotected

Definition at line 23 of file HtmlObject.h.

◆ GetProperties()

TString Hal::HtmlObject::GetProperties ( ) const
protected

Definition at line 40 of file HtmlObject.cxx.

◆ GetStyle()

TString Hal::HtmlObject::GetStyle ( ) const
inlineprotected

Definition at line 24 of file HtmlObject.h.

◆ operator=()

HtmlObject & Hal::HtmlObject::operator= ( const HtmlObject & other)

Definition at line 29 of file HtmlObject.cxx.

◆ SetClass()

void Hal::HtmlObject::SetClass ( TString className)
inline

set object of this file

Parameters
className

Definition at line 40 of file HtmlObject.h.

◆ SetDefaultClass()

virtual void Hal::HtmlObject::SetDefaultClass ( )
inlinevirtual

set default class for given type of objects (if exists)

Reimplemented in Hal::HtmlTable.

Definition at line 44 of file HtmlObject.h.

◆ SetId()

void Hal::HtmlObject::SetId ( TString id)
inline

set id of this object

Parameters
id

Definition at line 49 of file HtmlObject.h.

◆ SetStringContent()

void Hal::HtmlObject::SetStringContent ( TString content)
inline

Definition at line 60 of file HtmlObject.h.

◆ SetStyle()

void Hal::HtmlObject::SetStyle ( TString style)
inline

set style of this object

Parameters
style

Definition at line 54 of file HtmlObject.h.

◆ ToString()

virtual TString Hal::HtmlObject::ToString ( ) const
pure virtual

convert this object to HTML

Implemented in Hal::HtmlCell, Hal::HtmlDiv, Hal::HtmlRow, and Hal::HtmlTable.


The documentation for this class was generated from the following files: