reports::element Struct Reference

#include <reports.hpp>

Collaboration diagram for reports::element:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 element (const std::string &text)
 element (const std::string &text, const std::string &image, const std::string &tooltip)
 element (const std::string &text, const image::locator &image, const std::string &tooltip)
 element (const std::string &text, const char *image, const std::string &tooltip)
bool operator== (const element &o) const
bool operator!= (const element &o) const

Public Attributes

image::locator image
std::string text
std::string tooltip

Private Member Functions

 element ()
 Shouldn't be used so only declared.


Detailed Description

Definition at line 43 of file reports.hpp.


Constructor & Destructor Documentation

reports::element::element (  )  [private]

Shouldn't be used so only declared.

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

Definition at line 48 of file reports.hpp.

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

Definition at line 61 of file reports.hpp.

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

Definition at line 64 of file reports.hpp.

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

Definition at line 66 of file reports.hpp.


Member Function Documentation

bool reports::element::operator== ( const element o  )  const [inline]

Definition at line 69 of file reports.hpp.

References image, text, and tooltip.

bool reports::element::operator!= ( const element o  )  const [inline]

Definition at line 72 of file reports.hpp.


Member Data Documentation

Definition at line 57 of file reports.hpp.

Referenced by operator==().

Definition at line 58 of file reports.hpp.

Referenced by operator==().

Definition at line 60 of file reports.hpp.

Referenced by operator==().


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

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