28 #ifndef MYSQLPP_FIELD_NAMES_H 
   29 #define MYSQLPP_FIELD_NAMES_H 
   36 #if !defined(DOXYGEN_IGNORE) 
   38 class MYSQLPP_EXPORT ResultBase;
 
   50         std::vector<std::string>()
 
   52                 assign(other.begin(), other.end());
 
   57         std::vector<std::string>()
 
   65         std::vector<std::string>(i)
 
   79                 insert(begin(), i, 
"");
 
  110         unsigned int operator [](
const std::string& s) 
const;
 
Holds a list of SQL field names.
Definition: field_names.h:43
FieldNames(const FieldNames &other)
Copy constructor.
Definition: field_names.h:49
FieldNames(int i)
Create empty field name list, reserving space for a fixed number of field names.
Definition: field_names.h:64
FieldNames(const ResultBase *res)
Create field name list from a result set.
Definition: field_names.h:56
FieldNames & operator=(const ResultBase *res)
Initializes the field list from a result set.
Definition: field_names.h:70
FieldNames()
Default constructor.
Definition: field_names.h:46
std::string & operator[](int i)
Get the name of a field given its index.
Definition: field_names.h:84
Base class for StoreQueryResult and UseQueryResult.
Definition: result.h:111