Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Member Functions | Protected Attributes
comm_option_fptr Class Reference

Function pointer for cli command function.

#include <cli.h>

Inheritance diagram for comm_option_fptr:
comm_option_funct

Detailed Description

Definition at line 57 of file cli.h.

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 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.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.