ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
HtmlDivisionWriter Class Reference

Add a division to html. More...

#include <html_utils.h>

Public Member Functions

 HtmlDivisionWriter ()
 Constructor. More...
 
void addHeader (std::string header, int level=1)
 Add a header inside division. More...
 
void addText (std::string text)
 Add text to the division. More...
 
std::string getDivisionText ()
 Create a divsion html in string format. More...
 

Detailed Description

Add a division to html.

Constructor & Destructor Documentation

HtmlDivisionWriter::HtmlDivisionWriter ( )
inline

Constructor.

Member Function Documentation

void HtmlDivisionWriter::addHeader ( std::string  header,
int  level = 1 
)
inline

Add a header inside division.

Parameters
headerText to put in header
levelThe integer level can be 1 to 5 corresponding to h1 to h5
void HtmlDivisionWriter::addText ( std::string  text)
inline

Add text to the division.

Parameters
textstring to add
std::string HtmlDivisionWriter::getDivisionText ( )
inline

Create a divsion html in string format.

Returns
return string of html division

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