The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SQLfield Class Reference

This class contains a field's data plus a way to determine if the field is NULL or not without having to mess around with NULL pointers. More...

#include <m_sqlv2.h>

Collaboration diagram for SQLfield:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SQLfield (const std::string &data="", bool n=false)
 Initialize an SQLfield.

Public Attributes

std::string d
 The data itself.
bool null
 If the field was null.

Detailed Description

This class contains a field's data plus a way to determine if the field is NULL or not without having to mess around with NULL pointers.

Definition at line 262 of file m_sqlv2.h.


Constructor & Destructor Documentation

SQLfield::SQLfield const std::string data = "",
bool  n = false
[inline]
 

Initialize an SQLfield.

Definition at line 277 of file m_sqlv2.h.


Member Data Documentation

std::string SQLfield::d
 

The data itself.

Definition at line 268 of file m_sqlv2.h.

Referenced by QueryInfo::Go(), and ModuleTestClient::OnRequest().

bool SQLfield::null
 

If the field was null.

Definition at line 273 of file m_sqlv2.h.


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