Feel++ 0.91.0
|
#include <about.hpp>
Public Member Functions | |
AboutPerson (std::string name, std::string task, std::string emailAddress, std::string webAddress) | |
AboutPerson (AboutPerson const &ap) | |
AboutPerson & | operator= (AboutPerson const &__ap) |
std::string | name () const |
std::string | task () const |
std::string | emailAddress () const |
std::string | webAddress () const |
This structure is used to store information about a person or developer. It can store the person's name, a task, an email address and a link to a home page. This class is intended for use in the AboutData class, but it can be used elsewhere as well. Normally you should at least define the person's name.
Example Usage within a main():
AboutData about("hello", "0.1", "A Feel version of Hello, world!"), AboutData::License_LGPL, "Copyright (c) 2003 Developer");
about.addAuthor("Joe Developer", "developer", "joe@host.com", 0); about.addCredit("Joe User", "A lot of bug reports"), "joe.user@host.org", 0);
Feel::AboutPerson::AboutPerson | ( | std::string | name, |
std::string | task, | ||
std::string | emailAddress, | ||
std::string | webAddress | ||
) | [inline] |
Convenience constructor
name | The name of the person. |
task | The task of this person. This string should be marked for translation, e.g. |
emailAddress | The email address of the person. |
webAddress | Home page of the person. |
std::string Feel::AboutPerson::emailAddress | ( | ) | const |
The person's email address
Referenced by Feel::Application::processGenericOptions().
std::string Feel::AboutPerson::name | ( | ) | const |
The person's name
Referenced by Feel::Application::processGenericOptions().
std::string Feel::AboutPerson::task | ( | ) | const |
The person's task
Referenced by Feel::Application::processGenericOptions().
std::string Feel::AboutPerson::webAddress | ( | ) | const |
The home page or a relevant link