Public Member Functions | Protected Attributes

MySqlPL::SqlInd Struct Reference

indicator variable More...

#include <mysqlpl.h>

Collaboration diagram for MySqlPL::SqlInd:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SqlInd (my_bool is_null=1)
 operator my_bool () const
 operator my_bool * ()
bool is_null () const
bool is_not_null () const
void clear ()
void set ()

Protected Attributes

my_bool _is_null

Detailed Description

indicator variable

Definition at line 339 of file mysqlpl.h.


Constructor & Destructor Documentation

MySqlPL::SqlInd::SqlInd ( my_bool  is_null = 1 ) [inline]

Definition at line 341 of file mysqlpl.h.

     : _is_null(is_null)
    {
    }

Member Function Documentation

void MySqlPL::SqlInd::clear (  ) [inline]

Definition at line 352 of file mysqlpl.h.

References _is_null.

{_is_null = 1;}
bool MySqlPL::SqlInd::is_not_null (  ) const [inline]

Definition at line 350 of file mysqlpl.h.

References _is_null.

Referenced by MySqlPL::SqlValue::is_not_null().

{return _is_null==0;}

Here is the caller graph for this function:

bool MySqlPL::SqlInd::is_null (  ) const [inline]

Definition at line 349 of file mysqlpl.h.

References _is_null.

Referenced by MySqlPL::SqlValue::is_null().

{return _is_null!=0;}

Here is the caller graph for this function:

MySqlPL::SqlInd::operator my_bool (  ) const [inline]

Definition at line 346 of file mysqlpl.h.

References _is_null.

{return _is_null;}
MySqlPL::SqlInd::operator my_bool * (  ) [inline]

Definition at line 347 of file mysqlpl.h.

References _is_null.

{return &_is_null;}
void MySqlPL::SqlInd::set (  ) [inline]

Definition at line 353 of file mysqlpl.h.

References _is_null.

{_is_null = 0;}

Member Data Documentation

my_bool MySqlPL::SqlInd::_is_null [protected]

Definition at line 356 of file mysqlpl.h.

Referenced by clear(), is_not_null(), is_null(), operator my_bool(), operator my_bool *(), and set().


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