 |
Shiokaze Framework
A research-oriented fluid solver for computer graphics
|
|
Go to the documentation of this file.
37 #define LONG_NAME(long_name) virtual std::string get_name() const override { return credit::m_name.empty() ? long_name : credit::m_name; }
38 #define ARGUMENT_NAME(argument_name) virtual std::string get_argument_name() const override { return credit::m_argument_name.empty() ? argument_name : credit::m_argument_name; }
41 #define AUTHOR_NAME(author_name) virtual std::string get_author() const override { return author_name; }
71 virtual void set_name( std::string name, std::string argument_name=
"" ) {
114 virtual std::tuple<int,int,int>
get_date()
const {
return std::make_tuple(0,0,0); }
virtual double get_version() const
Get version.
Definition: credit.h:100
credit(std::string name, std::string argument_name)
Constructor for credit.
Definition: credit.h:62
virtual std::string get_argument_name() const
Get an argument name.
Definition: credit.h:93
virtual void set_argument_name(std::string argument_name)
Set an argument name.
Definition: credit.h:86
credit()=default
Default constructor.
#define SHKZ_BEGIN_NAMESPACE
Name space beggining definition for shiokaze.
Definition: common.h:39
std::string m_name
Name of credit.
Definition: credit.h:128
virtual std::string get_email_address() const
Get email address.
Definition: credit.h:121
virtual std::string get_name() const
Get the name.
Definition: credit.h:79
virtual void set_name(std::string name, std::string argument_name="")
Set name (and perhaps, argument name together)
Definition: credit.h:71
virtual std::string get_author() const
Get author's name.
Definition: credit.h:107
std::string m_argument_name
Argument name.
Definition: credit.h:133
Class that defines the name, argument name, author's name, email address, date and the version of the...
Definition: credit.h:47
#define SHKZ_END_NAMESPACE
Name space end definition for shiokaze.
Definition: common.h:44
virtual std::tuple< int, int, int > get_date() const
Get currently set date.
Definition: credit.h:114