Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
o2scl::comm_option_fptr Class Reference

Function pointer for o2scl::cli command function. More...

#include <cli.h>

Inheritance diagram for o2scl::comm_option_fptr:

Public Member Functions

 comm_option_fptr (int(*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_fptroperator= (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.

Detailed Description

Definition at line 61 of file cli.h.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).