CARMA C++
carma::dbms::Selector Class Referenceabstract

Abstract base class to represent an SQL selection (portion of SELECT clause) More...

#include <carma/dbms/Selector.h>

Inheritance diagram for carma::dbms::Selector:
carma::dbms::LogRecordSelector carma::dbms::MonitorPointSelector

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_
 

Detailed Description

Abstract base class to represent an SQL selection (portion of SELECT clause)

Definition at line 24 of file Selector.h.

Constructor & Destructor Documentation

virtual carma::dbms::Selector::~Selector ( )
virtual

destructor

Member Function Documentation

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

virtual std::string carma::dbms::Selector::toString ( ) const
pure virtual

string representation of this selector

Implemented in carma::dbms::MonitorPointSelector, and carma::dbms::LogRecordSelector.


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