Class that defines the name, argument name, author's name, email address, date and the version of the code.
More...
#include <credit.h>
Class that defines the name, argument name, author's name, email address, date and the version of the code.
◆ credit()
credit::credit |
( |
std::string |
name, |
|
|
std::string |
argument_name |
|
) |
| |
|
inline |
Constructor for credit.
- Parameters
-
[in] | name | Name. |
[in] | argument_name | Name for the argument (alternatively, space-less short name). |
◆ get_argument_name()
virtual std::string credit::get_argument_name |
( |
| ) |
const |
|
inlinevirtual |
Get an argument name.
- Returns
- Currently set argument name.
◆ get_author()
virtual std::string credit::get_author |
( |
| ) |
const |
|
inlinevirtual |
Get author's name.
- Returns
- Currently set author's name.
◆ get_date()
virtual std::tuple<int,int,int> credit::get_date |
( |
| ) |
const |
|
inlinevirtual |
Get currently set date.
- Returns
- Currently set date.
◆ get_email_address()
virtual std::string credit::get_email_address |
( |
| ) |
const |
|
inlinevirtual |
Get email address.
- Returns
- Currently set email address.
◆ get_version()
virtual double credit::get_version |
( |
| ) |
const |
|
inlinevirtual |
Get version.
- Returns
- Currently set version.
◆ set_argument_name()
virtual void credit::set_argument_name |
( |
std::string |
argument_name | ) |
|
|
inlinevirtual |
Set an argument name.
- Parameters
-
[in] | argument_name | Name for the argument to set. |
◆ set_name()
virtual void credit::set_name |
( |
std::string |
name, |
|
|
std::string |
argument_name = "" |
|
) |
| |
|
inlinevirtual |
Set name (and perhaps, argument name together)
- Parameters
-
[in] | name | Name to set. |
[in] | argument_name | Name for the argument to set (can be omitted). |
The documentation for this class was generated from the following file: