|
Contents:
Search: |
CMQLResultOverviewThe CMQLResult class encapsulates the results of an MQL query. It is either a sheaf or a table. If it is a sheaf, the table-part will be empty. If it is a table, get_sheaf() will return nil. If it is a sheaf, get_sheaf will return a pointer to the sheaf. C++ interface#include <emdros/mql_result.h> class CMQLResult : public CTable { public: ~CMQLResult(); CSheaf* get_sheaf(void); CTable* get_table(void); bool isSheaf() const; bool isTable() const; // Print prints either XML or Console output, based on pOut void Print(CEMdFOutput *pOut) const; // print_DTD prints the CMQLResult's contributions to the DTD static void print_DTD(CEMdFOutput* pOut); }; |