Member function pointer for o2scl::cli command function. More...
#include <cli.h>
Public Member Functions | |
comm_option_mfptr (tclass *tp, int(tclass::*fp)(std::vector< std::string > &, bool)) | |
Create from a member function pointer from the specified class. | |
virtual int | operator() (std::vector< std::string > &cstr, bool itive_com) |
The basic function called by o2scl::cli. | |
Protected Member Functions | |
comm_option_mfptr (const comm_option_mfptr &f) | |
Copy constructor. | |
comm_option_mfptr & | operator= (const comm_option_mfptr &f) |
Copy constructor. | |
Protected Attributes | |
int(tclass::* | fptr )(std::vector< std::string > &cstr, bool itive_com) |
The pointer to the member function. | |
tclass * | tptr |
The pointer to the class. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).