version 1.9, 2005/02/05 23:00:52
|
version 1.10, 2005/10/31 17:39:20
|
|
|
#include <Pegasus/Common/ArrayInternal.h> | #include <Pegasus/Common/ArrayInternal.h> |
#include <Pegasus/WQL/Linkage.h> | #include <Pegasus/WQL/Linkage.h> |
#include <Pegasus/WQL/WQLSelectStatement.h> | #include <Pegasus/WQL/WQLSelectStatement.h> |
|
#include <Pegasus/Common/Buffer.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
// 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)); |
| |
WQLSelectStatement selectStatement; | WQLSelectStatement 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, |
WQLSelectStatement& statement); | WQLSelectStatement& statement); |
| |
/** Version of parse() taking a string. | /** Version of parse() taking a string. |