CYCLUS
|
Meta data and results of a query.
Definition at line 426 of file query_backend.h.
#include <query_backend.h>
Public Member Functions | |
template<class T > | |
T | GetVal (std::string field, int row=0) |
void | Reset () |
Public Attributes | |
std::vector< std::string > | fields |
std::vector< QueryRow > | rows |
std::vector< DbTypes > | types |
Convenience method for retrieving a value from a specific row and named field (column).
The caller is responsible for specifying a valid templated type to cast to. Example use:
Definition at line 459 of file query_backend.h.
|
inline |
Definition at line 437 of file query_backend.h.
std::vector<std::string> cyclus::QueryResult::fields |
names of each field returned by a query
Definition at line 429 of file query_backend.h.
std::vector<QueryRow> cyclus::QueryResult::rows |
ordered results of a query
Definition at line 435 of file query_backend.h.
std::vector<DbTypes> cyclus::QueryResult::types |
types of each field returned by a query.
Definition at line 432 of file query_backend.h.