StatementStrings Class Reference

This class is a bucket that contains the SQL statements for a certain action on a table. More...

#include <StatementStrings.h>

List of all members.

Public Member Functions

 StatementStrings ()
 Creates an empty statements bucket.
 ~StatementStrings ()
 Destructor, a noop.
cstring getErase () const
 Returns the SQL to erase an entry from this table.
cstring getInsert () const
 Returns the SQL to insert an entry into this table.
cstring getUpdate () const
 Returns the SQL to update an entry from this table.
cstring getSelect () const
 Returns the SQL to select an entry from this table.
cstring getLookup (FieldPtr field)
 Returns the SQL to look up an entry from this table on the specified field.
cstring getList () const
 Returns the SQL to list all entries in a table.
void setErase (cstring erase)
 Sets the SQL to erase an entry from this table.
void setInsert (cstring insert)
 Sets the SQL to insert an entry into this table.
void setUpdate (cstring update)
 Sets the SQL to update an entry in this table.
void setSelect (cstring select)
 Sets the SQL to select an entry from this table.
void setLookup (FieldPtr field, cstring lookup)
 Sets the SQL to look up an entry from this table on the specified field.
void setList (cstring list)
 Sets the SQL to list all entries in a table.


Detailed Description

This class is a bucket that contains the SQL statements for a certain action on a table.

Definition at line 35 of file StatementStrings.h.


Constructor & Destructor Documentation

StatementStrings::StatementStrings (  )  [inline]

Creates an empty statements bucket.

Definition at line 39 of file StatementStrings.h.

StatementStrings::~StatementStrings (  )  [inline]

Destructor, a noop.

Definition at line 42 of file StatementStrings.h.


Member Function Documentation

cstring StatementStrings::getErase (  )  const [inline]

Returns the SQL to erase an entry from this table.

Definition at line 45 of file StatementStrings.h.

cstring StatementStrings::getInsert (  )  const [inline]

Returns the SQL to insert an entry into this table.

Definition at line 48 of file StatementStrings.h.

cstring StatementStrings::getUpdate (  )  const [inline]

Returns the SQL to update an entry from this table.

Definition at line 51 of file StatementStrings.h.

cstring StatementStrings::getSelect (  )  const [inline]

Returns the SQL to select an entry from this table.

Definition at line 54 of file StatementStrings.h.

cstring StatementStrings::getLookup ( FieldPtr  field  )  [inline]

Returns the SQL to look up an entry from this table on the specified field.

Definition at line 57 of file StatementStrings.h.

cstring StatementStrings::getList (  )  const [inline]

Returns the SQL to list all entries in a table.

Definition at line 60 of file StatementStrings.h.

void StatementStrings::setErase ( cstring  erase  )  [inline]

Sets the SQL to erase an entry from this table.

Definition at line 64 of file StatementStrings.h.

void StatementStrings::setInsert ( cstring  insert  )  [inline]

Sets the SQL to insert an entry into this table.

Definition at line 67 of file StatementStrings.h.

void StatementStrings::setUpdate ( cstring  update  )  [inline]

Sets the SQL to update an entry in this table.

Definition at line 70 of file StatementStrings.h.

void StatementStrings::setSelect ( cstring  select  )  [inline]

Sets the SQL to select an entry from this table.

Definition at line 73 of file StatementStrings.h.

void StatementStrings::setLookup ( FieldPtr  field,
cstring  lookup 
) [inline]

Sets the SQL to look up an entry from this table on the specified field.

Definition at line 76 of file StatementStrings.h.

void StatementStrings::setList ( cstring  list  )  [inline]

Sets the SQL to list all entries in a table.

Definition at line 79 of file StatementStrings.h.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo