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 );