#include <Set.h>
Public Member Functions | |
Visitor::VisitorState | accept (Visitor *v) |
Visitor::VisitorState | accept (Visitor *v) |
const std::string & | getDestColName () const |
const std::string & | getDestColName () const |
FIELDTYPE | getDestType () const |
FIELDTYPE | getDestType () const |
const std::string & | getInterp () const |
const std::string & | getInterp () const |
FIELDTYPE | getSrcType () const |
FIELDTYPE | getSrcType () const |
const std::string & | getSrcValue () const |
const std::string & | getSrcValue () const |
bool | hasInterp () const |
bool | hasInterp () const |
Set (Table *table, const std::string &destColName, FIELDTYPE destType, const std::string &srcValue, FIELDTYPE srcType, const std::string &interp=std::string("")) | |
Set (Table *table, const std::string &destColName, FIELDTYPE destType, const std::string &srcValue, FIELDTYPE srcType, const std::string &interp=std::string("")) | |
~Set () | |
~Set () | |
Private Attributes | |
std::string | m_destCol |
FIELDTYPE | m_destType |
std::string | m_interp |
Table * | m_myTable |
Table * | m_myTable |
FIELDTYPE | m_srcType |
Describes how to interpret m_srcValue. | |
std::string | m_srcValue |
source value may be literal string or column name or empty |
column to get updated defines whether dest row is existing or proposed string for value to go into dest column may be literal, old column or proposed column
|
00026 : 00027 m_myTable(table), m_destCol(destColName), m_destType(destType), 00028 m_srcValue(srcValue), m_srcType(srcType), m_interp(interp) {}
|
|
Normally, operator associated with the assertion will be deleted when the assertion itself is deleted, but this won't happen if keepOp is set to true. 00035 {}
|
|
00026 : 00027 m_myTable(table), m_destCol(destColName), m_destType(destType), 00028 m_srcValue(srcValue), m_srcType(srcType), m_interp(interp) {}
|
|
Normally, operator associated with the assertion will be deleted when the assertion itself is deleted, but this won't happen if keepOp is set to true. 00035 {}
|
|
|
|
00009 { 00010 Visitor::VisitorState state = v->visitSet(this); 00011 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE; 00012 return state; 00013 }
|
|
00038 {return m_destCol;}
|
|
00038 {return m_destCol;}
|
|
00039 {return m_destType;}
|
|
00039 {return m_destType;}
|
|
00043 {return m_interp;}
|
|
00043 {return m_interp;}
|
|
00042 {return m_srcType;}
|
|
00042 {return m_srcType;}
|
|
00041 {return m_srcValue;}
|
|
00041 {return m_srcValue;}
|
|
00045 {return (m_interp.size() > 0);}
|
|
00045 {return (m_interp.size() > 0);}
|
|
|
|
|
|
|
|
|
|
|
|
Describes how to interpret m_srcValue.
|
|
source value may be literal string or column name or empty
|