Class comm_option_mfptr (o2scl)¶
-
template<class
tclass
>
classo2scl
::
comm_option_mfptr
: public o2scl::comm_option_funct¶ Member function pointer for o2scl::cli command function.
Public Functions
-
comm_option_mfptr
(tclass *tp, int (tclass::* fp)(std::vector<std::string>&, bool))¶ Create from a member function pointer from the specified class.
-
~comm_option_mfptr
()¶
-
int
operator()
(std::vector<std::string> &cstr, bool itive_com)¶ The basic function called by o2scl::cli.
Protected Functions
-
comm_option_mfptr
(const comm_option_mfptr &f)¶ Copy constructor.
-
comm_option_mfptr &
operator=
(const comm_option_mfptr &f)¶ Copy constructor.
-