MySQL++ Reference Manual

Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members

# mysqlpp::Fields Class Reference

A container similar to `std::vector` for holding mysqlpp::Field records. More...

`#include <fields.h>`

Inheritance diagram for mysqlpp::Fields:

[legend]
Collaboration diagram for mysqlpp::Fields:

[legend]
List of all members.

## Public Methods
| Fields ()
| Default constructor.
| Fields (ResUse *r)
| Create a field list from a result set.
MYSQLPP_EXPORT const Field & | at (size_type i) const
| Returns a field given its index.
const Field & | at (int i) const
| Returns a field given its index.
MYSQLPP_EXPORT size_type | size () const
| get the number of fields

## Detailed Description

A container similar to `std::vector` for holding mysqlpp::Field records.

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

- fields.h
- fields.cpp