36 #include <feel/feelcore/parameter.hpp>
43 class AboutPersonPrivate;
44 class AboutDataPrivate;
81 std::string _emailAddress,
82 std::string _webAddress )
86 M_EmailAddress( _emailAddress ),
87 M_WebAddress( _webAddress )
106 AboutPerson( AboutPerson
const& ap )
110 M_EmailAddress( ap.M_EmailAddress ),
111 M_WebAddress( ap.M_WebAddress )
116 if (
this != & __ap )
118 M_Name = __ap.M_Name;
119 M_Task = __ap.M_Task;
120 M_EmailAddress = __ap.M_EmailAddress;
121 M_WebAddress = __ap.M_WebAddress;
131 std::string
name()
const;
138 std::string
task()
const;
157 std::string M_EmailAddress;
158 std::string M_WebAddress;
160 AboutPersonPrivate *d;
191 License_Artistic = 4,
235 int licenseType = License_GPL_V3,
237 const char* text =
"",
238 const char* homePageAddress =
"",
239 const char* bugsEmailAddress =
"feelpp-devel@feelpp.org"
265 void addAuthor( std::string
const & name,
266 std::string
const & task=0,
267 std::string
const & emailAddress=0,
268 std::string
const & webAddress=0 );
289 void addCredit( std::string
const & name,
290 std::string
const & task=0,
291 std::string
const & emailAddress=0,
292 std::string
const & webAddress=0 );
447 const std::vector<AboutPerson>&
authors()
const;
453 const std::vector<AboutPerson>&
credits()
const;
479 std::string M_AppName;
480 std::string M_ProgramName;
481 std::string M_ProductName;
482 std::string M_Version;
483 std::string M_ShortDescription;
485 std::string M_CopyrightStatement;
486 std::string M_OtherText;
487 std::string M_HomepageAddress;
488 std::string M_BugEmailAddress;
489 std::vector<AboutPerson> M_AuthorList;
490 std::vector<AboutPerson> M_CreditList;
491 std::string M_LicenseText;
504 std::ostream& operator<<( std::ostream& os, AboutData
const& about );
506 BOOST_PARAMETER_FUNCTION(
507 (AboutData), about, tag,
508 ( required (name, * ) )
510 ( author, *,
"Feel++ Consortium" )
511 ( task, *,
"developer" )
512 ( email, *,
"feelpp-devel@feelpp.org" )
513 ( desc, *,
"Feel++ application" )
514 ( license, (
int), AboutData::License_GPL_V3 )
515 ( copyright, *,
"Copyright (C) Feel++ Consortium" )
516 ( home, *,
"http://www.feelpp.org" )
517 ( bugs, *,
"feelpp-devel@feelpp.org" )
521 AboutData a( name, name, version, desc,
522 license, copyright,
"", home, bugs );
523 a.addAuthor( author, task, email, home );
std::string programName() const
Definition: about.cpp:241
void setProductName(std::string const &name)
Definition: about.cpp:219
AboutData(const char *appName="feel++", const char *programName="feel++", const char *version=Info::versionString(), const char *shortDescription="", int licenseType=License_GPL_V3, const char *copyrightStatement="", const char *text="", const char *homePageAddress="", const char *bugsEmailAddress="feelpp-devel@feelpp.org")
Definition: about.cpp:79
std::string shortDescription() const
Definition: about.cpp:253
Holds information needed by the "About" box and other classes.
Definition: about.hpp:173
std::string copyrightStatement() const
Definition: about.cpp:340
void setAppName(std::string const &appName)
Definition: about.cpp:165
std::string homepage() const
Definition: about.cpp:259
void addCredit(std::string const &name, std::string const &task=0, std::string const &emailAddress=0, std::string const &webAddress=0)
Definition: about.cpp:151
void setCopyrightStatement(std::string const ©rightStatement)
Definition: about.cpp:195
std::string otherText() const
Definition: about.cpp:282
LicenseKey
Definition: about.hpp:179
std::string productName() const
Definition: about.cpp:231
std::string task() const
Definition: about.cpp:48
std::string emailAddress() const
Definition: about.cpp:54
std::string webAddress() const
Definition: about.cpp:61
std::string name() const
Definition: about.cpp:42
void setShortDescription(std::string const &shortDescription)
Definition: about.cpp:183
AboutPerson(std::string _name, std::string _task, std::string _emailAddress, std::string _webAddress)
Definition: about.hpp:79
std::string license() const
Definition: about.cpp:289
void setHomepage(std::string const &homepage)
Definition: about.cpp:207
void setVersion(const char *version)
Definition: about.cpp:177
static char const * versionString()
Definition: info.cpp:79
const std::vector< AboutPerson > & authors() const
Definition: about.cpp:271
void setOtherText(std::string const &otherText)
Definition: about.cpp:201
void setBugAddress(std::string const &bugAddress)
Definition: about.cpp:213
void setLicense(LicenseKey licenseKey)
Definition: about.cpp:189
std::string bugAddress() const
Definition: about.cpp:265
void setLicenseText(std::string const &license)
Definition: about.cpp:158
std::string version() const
Definition: about.cpp:247
const std::vector< AboutPerson > & credits() const
Definition: about.cpp:277
void setProgramName(const char *programName)
Definition: about.cpp:171
void addAuthor(std::string const &name, std::string const &task=0, std::string const &emailAddress=0, std::string const &webAddress=0)
Definition: about.cpp:143
std::string appName() const
Definition: about.cpp:225