Public Member Functions | Protected Attributes

MySqlPL::MSqlEnv Struct Reference

#include <mysqlpl.h>

Collaboration diagram for MySqlPL::MSqlEnv:
Collaboration graph

List of all members.

Public Member Functions

 MSqlEnv (MYSQL *mysql=NULL)
 ~MSqlEnv ()
 operator MYSQL * () const

Protected Attributes

MYSQL * _mysql

Detailed Description

Definition at line 197 of file mysqlpl.h.

Constructor & Destructor Documentation

MySqlPL::MSqlEnv::MSqlEnv ( MYSQL *  mysql = NULL ) [inline]

Definition at line 199 of file mysqlpl.h.

References _mysql.

        _mysql = mysql_init(NULL);
MySqlPL::MSqlEnv::~MSqlEnv (  ) [inline]

Definition at line 204 of file mysqlpl.h.

References _mysql.


Member Function Documentation

MySqlPL::MSqlEnv::operator MYSQL * (  ) const [inline]

Definition at line 209 of file mysqlpl.h.

References _mysql.

{return _mysql;}

Member Data Documentation

MYSQL* MySqlPL::MSqlEnv::_mysql [protected]

Definition at line 212 of file mysqlpl.h.

Referenced by MSqlEnv(), operator MYSQL *(), and ~MSqlEnv().

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