GCC Middle and Back End API Reference
diagnostic_html_format_buffer Class Reference
Inheritance diagram for diagnostic_html_format_buffer:
Collaboration diagram for diagnostic_html_format_buffer:

Public Member Functions

 diagnostic_html_format_buffer (html_builder &builder)
void dump (FILE *out, int indent) const final override
bool empty_p () const final override
void move_to (diagnostic_per_format_buffer &dest) final override
void clear () final override
void flush () final override
void add_result (std::unique_ptr< xml::element > result)
void DEBUG_FUNCTION dump () const

Private Attributes

html_builderm_builder
std::vector< std::unique_ptr< xml::element > > m_results

Friends

class html_builder
class html_output_format

Detailed Description

Concrete buffering implementation subclass for HTML output.   

Constructor & Destructor Documentation

◆ diagnostic_html_format_buffer()

diagnostic_html_format_buffer::diagnostic_html_format_buffer ( html_builder & builder)
inline

References html_builder, and m_builder.

Referenced by move_to().

Member Function Documentation

◆ add_result()

void diagnostic_html_format_buffer::add_result ( std::unique_ptr< xml::element > result)
inline

References add_result(), element, and m_results.

Referenced by add_result().

◆ clear()

void diagnostic_html_format_buffer::clear ( )
finaloverridevirtual

Implements diagnostic_per_format_buffer.

References m_results.

◆ dump() [1/2]

void diagnostic_html_format_buffer::dump ( FILE * out,
int indent ) const
finaloverridevirtual
class diagnostic_html_format_buffer : public diagnostic_per_format_buffer.   

Implements diagnostic_per_format_buffer.

References m_results.

◆ dump() [2/2]

void DEBUG_FUNCTION diagnostic_per_format_buffer::dump ( ) const
inlineinherited

References DEBUG_FUNCTION, and dump().

Referenced by dump().

◆ empty_p()

bool diagnostic_html_format_buffer::empty_p ( ) const
finaloverridevirtual

Implements diagnostic_per_format_buffer.

References m_results.

◆ flush()

void diagnostic_html_format_buffer::flush ( )
finaloverridevirtual

Implements diagnostic_per_format_buffer.

References m_builder, and m_results.

◆ move_to()

void diagnostic_html_format_buffer::move_to ( diagnostic_per_format_buffer & dest)
finaloverridevirtual

◆ html_builder

friend class html_builder
friend

◆ html_output_format

friend class html_output_format
friend

References html_output_format.

Referenced by html_output_format.

Field Documentation

◆ m_builder

html_builder& diagnostic_html_format_buffer::m_builder
private

◆ m_results

std::vector<std::unique_ptr<xml::element> > diagnostic_html_format_buffer::m_results
private

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