Xmipp
v3.23.11-Nereus
|
#include <metadata_query.h>
Public Member Functions | |
MDMultiQuery (int limit=-1, int offset=0, MDLabel orderLabel=MDL_OBJID) | |
void | addAndQuery (MDQuery &query) |
void | addOrQuery (MDQuery &query) |
void | clear () |
virtual String | queryStringFunc () const |
Public Member Functions inherited from MDQuery | |
MDQuery (int limit=-1, int offset=0, MDLabel orderLabel=MDL_OBJID, bool asc=true) | |
virtual | ~MDQuery () |
String | orderByString () const |
String | limitString () const |
String | whereString () const |
Public Attributes | |
std::vector< const MDQuery * > | queries |
std::vector< String > | operations |
Public Attributes inherited from MDQuery | |
int | limit |
If distint of -1 the results will be limited to this value. More... | |
int | offset |
If distint of 0, offset elements will be discarded. More... | |
MDLabel | orderLabel |
Label to which apply sort of the results. More... | |
bool | asc |
Query several conditions using AND and OR. This kind of query if useful if you want to check two conditions at the same time, for example, import all images that are enabled and have rotational angle greater than 100.
Definition at line 334 of file metadata_query.h.
|
inline |
Definition at line 340 of file metadata_query.h.
|
inline |
Definition at line 344 of file metadata_query.h.
|
inline |
Definition at line 349 of file metadata_query.h.
|
inline |
Definition at line 355 of file metadata_query.h.
|
virtual |
Return the query string, should be overrided in subclasses
Reimplemented from MDQuery.
Definition at line 22 of file metadata_query.cpp.
std::vector<String> MDMultiQuery::operations |
Definition at line 338 of file metadata_query.h.
std::vector<const MDQuery*> MDMultiQuery::queries |
Definition at line 337 of file metadata_query.h.