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