32 #ifndef QORE_CONTEXT_H
34 #define QORE_CONTEXT_H
36 #ifdef _QORE_LIB_INTERN
40 #define CM_WHERE_NODE 1
41 #define CM_SORT_ASCENDING 2
42 #define CM_SORT_DESCENDING 3
43 #define CM_SUMMARIZE_BY 4
50 int master_max_pos = 0;
51 int* master_row_list =
nullptr;
54 int* row_list =
nullptr;
56 int max_group_pos = 0;
57 hashdecl node_row_list_s* group_values =
nullptr;
68 DLLLOCAL
int next_summary();
72 DLLLOCAL
bool isFirst()
const {
76 DLLLOCAL
bool isLast()
const {
77 return pos == (max_pos - 1);
80 DLLLOCAL
size_t getPos()
const {
84 DLLLOCAL
size_t getTotal()
const {
89 DLLLOCAL
void Sort(
QoreValue sort,
int sort_type = CM_SORT_ASCENDING);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
This is the hash or associative list container type in Qore, dynamically allocated only,...
Definition: QoreHashNode.h:50
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275