CARMA C++
|
Abstract base class to represent an SQL selection (portion of SELECT clause) More...
#include <carma/dbms/Selector.h>
Public Member Functions | |
std::string * | getTable () const |
get the pointer to the table name. More... | |
void | setTable (const std::string &tableName) |
set the option table name or aliased table name for this selection More... | |
virtual std::string | toString () const =0 |
string representation of this selector More... | |
virtual | ~Selector () |
destructor More... | |
Protected Attributes | |
std::string * | tableName_ |
Abstract base class to represent an SQL selection (portion of SELECT clause)
Definition at line 24 of file Selector.h.
|
virtual |
destructor
std::string* carma::dbms::Selector::getTable | ( | ) | const |
get the pointer to the table name.
if no table name has been set, a NULL pointer is returned.
void carma::dbms::Selector::setTable | ( | const std::string & | tableName | ) |
set the option table name or aliased table name for this selection
|
pure virtual |
string representation of this selector
Implemented in carma::dbms::MonitorPointSelector, and carma::dbms::LogRecordSelector.