class DfcDbSelection : public CorBase A database selection class.
| | KW_ANY $Id: DfcDbSelection |
| | addAndSelection ( const DfcDbSelection* aSelection ) |
| | addOrSelection ( const DfcDbSelection* aSelection ) |
| | DfcDbSelection ( const RWCString& aSelection ) |
| | DfcDbSelection ( const DfcDbSelection& aRef ) |
| | DfcDbSelection ( int aKeyword = KW_ANY, const RWCString& aValue = VAL_ANY, int anOperator = OP_LIKE ) |
| | getKey ( int aKeyword ) |
| | getNextKey () |
| | getNextOperator () |
| | getOperator ( int anOperator ) |
| | getQualifiers () |
| | getSelection () |
| | getTables () |
| | isSimpleSelection () |
| | operator= ( const DfcDbSelection& aRef ) |
| | select ( const RWCString& aSelection ) |
| | select ( int aKeyword = KW_ANY, const RWCString& aValue = VAL_ANY, int anOperator = OP_LIKE ) |
| | setKeys () |
| | ~DfcDbSelection () |
| | addTablesAndSelection ( const DfcDbSelection* aSelection ) |
| | setQualifiers ( const RWCString& aValue ) |
| | setSelection ( const RWCString& aValue ) |
| | setTables ( const RWCString& aValue ) |
| | mSelectOnly Purpose Set the keywords defined by this class |
| | setOperators () |
| | Purpose Set the operators defined by this class |
A database selection class.
SYNOPSIS
#include <DfcDbSelection.h>
DfcDbSelection myObject;
DESCRIPTION
Using this class you can create selections on keyword-vlue pairs.
CAUTIONS
<optional>
EXAMPLES
<optional>
SEE ALSO
<optional>
CorBase
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
DfcDbSelection( int aKeyword = KW_ANY, const RWCString& aValue = VAL_ANY, int anOperator = OP_LIKE )
DfcDbSelection( const RWCString& aSelection )
DfcDbSelection( const DfcDbSelection& aRef )
DfcDbSelection& operator=( const DfcDbSelection& aRef )
virtual ~DfcDbSelection()
The d'tor.
virtual void select( int aKeyword = KW_ANY, const RWCString& aValue = VAL_ANY, int anOperator = OP_LIKE )
void select( const RWCString& aSelection )
virtual void addAndSelection( const DfcDbSelection* aSelection )
virtual void addOrSelection( const DfcDbSelection* aSelection )
RWCString getSelection()
Query the select part of the current selection.
This function returns the string representation of the select part of
this selection.
CorBool isSimpleSelection()
Check whether this selection is only made up of a selection string.
(ie, no tables etc hvae been specified)
This function returns corFALSE if this is a complex selection.
RWCString getTables()
Query the table part of the current selection.
This function returns the string representation of all the tables used by
this selection.
RWCString getQualifiers()
Query the qualifier part of the current selection.
This function returns the string representation of the qualifiers of
this selection.
virtual int getNextOperator()
Query the next available operator.
This function returns the next available operator.
virtual int getNextKey()
Query the next available keycode.
This function returns the next available keycode.
virtual const RWCString& getKey( int aKeyword )
virtual const RWCString& getOperator( int anOperator )
void setSelection( const RWCString& aValue )
void setTables( const RWCString& aValue )
void setQualifiers( const RWCString& aValue )
void addTablesAndSelection( const DfcDbSelection* aSelection )
static RWTValVector <RWCString> setOperators()
Set the operators defined by this class.
This function returns a vector with all the operators matching the
operator codes.
static RWTValVector <RWCString> setKeys()
CorBool mSelectOnly
Set the keywords defined by this class.
This function returns a vector with all the keywords matching the
keyword codes.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de