mysqlpp::Option Class Reference

Define abstract interface for all *Option subclasses. More...

#include <options.h>

Inheritance diagram for mysqlpp::Option:

Inheritance graph
[legend]
List of all members.

Public Types

 err_NONE
 option was set successfully
 err_api_limit
 option not supported by underlying C API
 err_api_reject
 underlying C API returned error when setting option
 err_connected
 can't set the given option while connected
enum  Error { err_NONE, err_api_limit, err_api_reject, err_connected }
 Types of option setting errors we can diagnose. More...

Public Member Functions

virtual ~Option ()
 Destroy object.
virtual Error set (DBDriver *dbd)=0
 Apply option.

Detailed Description

Define abstract interface for all *Option subclasses.

This is the base class for the mid-level interface classes that take arguments, plus the direct base for options that take no arguments.


Member Enumeration Documentation

enum mysqlpp::Option::Error

Types of option setting errors we can diagnose.

Enumerator:
err_NONE  option was set successfully
err_api_limit  option not supported by underlying C API
err_api_reject  underlying C API returned error when setting option
err_connected  can't set the given option while connected


The documentation for this class was generated from the following file:
Generated on Wed Feb 4 14:43:12 2009 for MySQL++ by  doxygen 1.4.7