Public Member Functions | Protected Attributes | Private Attributes | List of all members
HTML::TAG Class Reference

#include <HtmlBuilder.h>

Inheritance diagram for HTML::TAG:
Inheritance graph
[legend]

Public Member Functions

 TAG (const std::string &tag, std::ostream &stream)
 
virtual ~TAG ()
 
TAGtext ()
 
TAGtext (const std::string &value)
 
TAGtext (int value)
 

Protected Attributes

std::ostream & m_stream
 

Private Attributes

std::string m_tag
 
std::stringstream m_value
 

Detailed Description

Definition at line 48 of file HtmlBuilder.h.

Constructor & Destructor Documentation

◆ TAG()

HTML::TAG::TAG ( const std::string &  tag,
std::ostream &  stream 
)
inline

Definition at line 67 of file HtmlBuilder.h.

67  {
68  stream << "&" << value << ";";
69  }
70 };
71 

Referenced by text(), HTML::TABLE::width(), and ~TAG().

◆ ~TAG()

virtual HTML::TAG::~TAG ( )
inlinevirtual

Definition at line 73 of file HtmlBuilder.h.

73 {
74 public:
75  A( std::ostream& stream )
76  : TAG( "A", stream ) {}
77 

References HTML::A::A(), and TAG().

Member Function Documentation

◆ text() [1/3]

TAG& HTML::TAG::text ( )
inline

◆ text() [2/3]

TAG& HTML::TAG::text ( const std::string &  value)
inline

Definition at line 81 of file HtmlBuilder.h.

82  : public TAG

◆ text() [3/3]

TAG& HTML::TAG::text ( int  value)
inline

Definition at line 83 of file HtmlBuilder.h.

83 {
84 public:

References HTML::BODY::BODY(), and TAG().

Member Data Documentation

◆ m_stream

std::ostream& HTML::TAG::m_stream
protected

Definition at line 91 of file HtmlBuilder.h.

Referenced by HTML::TABLE::border(), HTML::HR::HR(), and text().

◆ m_tag

std::string HTML::TAG::m_tag
private

Definition at line 87 of file HtmlBuilder.h.

◆ m_value

std::stringstream HTML::TAG::m_value
private

Definition at line 88 of file HtmlBuilder.h.


The documentation for this class was generated from the following file:
HTML::TAG::m_stream
std::ostream & m_stream
Definition: HtmlBuilder.h:91
HTML::TAG::TAG
TAG(const std::string &tag, std::ostream &stream)
Definition: HtmlBuilder.h:67

Generated on Wed Apr 29 2020 19:41:30 for QuickFIX by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2001