Created
November 17, 2014 23:19
-
-
Save rwcarlsen/4648e36afc642edbef7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int filtercol = ...; | |
int filterval = ...; | |
int operation = ...; | |
std::vector<int> pass; | |
for (int i = 0; i < qr.rows.size(); i++) { | |
int val = qr.GetVal<int>(filtercol, i); | |
switch (operation) { | |
case LT: | |
if (val < filterval) { | |
pass.push_back(i); | |
} | |
case GT: | |
... | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment