MySQL++  3.2.5
Public Member Functions | List of all members
mysqlpp::FieldNames Class Reference

Holds a list of SQL field names. More...

#include <field_names.h>

Inheritance diagram for mysqlpp::FieldNames:
Inheritance graph
[legend]
Collaboration diagram for mysqlpp::FieldNames:
Collaboration graph
[legend]

Public Member Functions

 FieldNames ()
 Default constructor.
 
 FieldNames (const FieldNames &other)
 Copy constructor.
 
 FieldNames (const ResultBase *res)
 Create field name list from a result set.
 
 FieldNames (int i)
 Create empty field name list, reserving space for a fixed number of field names.
 
FieldNamesoperator= (const ResultBase *res)
 Initializes the field list from a result set.
 
FieldNamesoperator= (int i)
 Insert i empty field names at beginning of list.
 
std::string & operator [] (int i)
 Get the name of a field given its index.
 
const std::string & operator [] (int i) const
 Get the name of a field given its index, in const context.
 
std::string & operator [] (size_type i)
 Get the name of a field given its index.
 
const std::string & operator [] (size_type i) const
 Get the name of a field given its index, in const context.
 
unsigned int operator [] (const std::string &s) const
 Get the index number of a field given its name.
 

Detailed Description

Holds a list of SQL field names.


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