version 1.7, 2005/05/15 13:21:44
|
version 1.8, 2005/10/31 17:39:10
|
|
|
#include <Pegasus/CQL/Linkage.h> | #include <Pegasus/CQL/Linkage.h> |
#include <Pegasus/Common/ArrayInternal.h> | #include <Pegasus/Common/ArrayInternal.h> |
#include <Pegasus/CQL/CQLSelectStatement.h> | #include <Pegasus/CQL/CQLSelectStatement.h> |
|
#include <Pegasus/Common/Buffer.h> |
| |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES | #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
| |
|
|
// Note that this array must be null-terminated (sizeof(TEXT) includes | // Note that this array must be null-terminated (sizeof(TEXT) includes |
// the null-terminator in the count). | // the null-terminator in the count). |
| |
Array<char> text(TEXT, sizeof(TEXT)); |
Buffer text(TEXT, sizeof(TEXT)); |
| |
CQLSelectStatement selectStatement; | CQLSelectStatement selectStatement; |
| |
|
|
/** Version of parse() taking an array of characters. | /** Version of parse() taking an array of characters. |
*/ | */ |
static void parse( | static void parse( |
const Array<char>& text, |
const Buffer& text, |
CQLSelectStatement& statement); | CQLSelectStatement& statement); |
| |
/** Version of parse() taking a string. | /** Version of parse() taking a string. |