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