GCC Middle and Back End API Reference
diagnostic_diagram Class Reference

#include <diagnostic-diagram.h>

Public Member Functions

 diagnostic_diagram (const text_art::canvas &canvas, const char *alt_text)
 
const text_art::canvas & get_canvas () const
 
const char * get_alt_text () const
 

Private Attributes

const text_art::canvas & m_canvas
 
const char *const m_alt_text
 

Detailed Description

A text art diagram, along with an "alternative text" string
describing it.   

Constructor & Destructor Documentation

◆ diagnostic_diagram()

diagnostic_diagram::diagnostic_diagram ( const text_art::canvas & canvas,
const char * alt_text )
inline

References gcc_assert.

Member Function Documentation

◆ get_alt_text()

const char * diagnostic_diagram::get_alt_text ( ) const
inline

◆ get_canvas()

const text_art::canvas & diagnostic_diagram::get_canvas ( ) const
inline

Field Documentation

◆ m_alt_text

const char* const diagnostic_diagram::m_alt_text
private

Referenced by get_alt_text().

◆ m_canvas

const text_art::canvas& diagnostic_diagram::m_canvas
private

Referenced by get_canvas().


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