reports::report Struct Reference

#include <reports.hpp>

Inheritance diagram for reports::report:

Inheritance graph
[legend]
Collaboration diagram for reports::report:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 report ()
 report (const std::string &text)
 report (const std::string &text, const std::string &image, const std::string &tooltip)
 report (const std::string &text, const char *image, const std::string &tooltip)
 report (const std::string &text, const image::locator &image, const std::string &tooltip)
void add_text (std::stringstream &text, std::stringstream &tooltip)
void add_text (const std::string &text, const std::string &tooltip)
void add_image (const std::string &image, const std::string &tooltip)
void add_image (std::stringstream &image, std::stringstream &tooltip)


Detailed Description

Definition at line 74 of file reports.hpp.


Constructor & Destructor Documentation

reports::report::report (  )  [inline]

Definition at line 75 of file reports.hpp.

reports::report::report ( const std::string &  text  )  [inline, explicit]

Definition at line 76 of file reports.hpp.

References push_back().

reports::report::report ( const std::string &  text,
const std::string &  image,
const std::string &  tooltip 
) [inline]

Definition at line 77 of file reports.hpp.

References push_back().

reports::report::report ( const std::string &  text,
const char *  image,
const std::string &  tooltip 
) [inline]

Definition at line 80 of file reports.hpp.

References push_back().

reports::report::report ( const std::string &  text,
const image::locator image,
const std::string &  tooltip 
) [inline]

Definition at line 83 of file reports.hpp.

References push_back().


Member Function Documentation

void reports::report::add_text ( std::stringstream &  text,
std::stringstream &  tooltip 
)

Definition at line 46 of file reports.cpp.

Referenced by reports::generate_report().

void reports::report::add_text ( const std::string &  text,
const std::string &  tooltip 
)

Definition at line 53 of file reports.cpp.

References push_back().

void reports::report::add_image ( const std::string &  image,
const std::string &  tooltip 
)

Definition at line 64 of file reports.cpp.

References push_back().

Referenced by add_image(), and reports::generate_report().

void reports::report::add_image ( std::stringstream &  image,
std::stringstream &  tooltip 
)

Definition at line 57 of file reports.cpp.

References add_image().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs