libdballe
7.6
|
Non-template part of Results, split here for faster compilation. More...
#include <results.h>
Public Member Functions | |
bool | is_select_all () const |
Check if we just select all elements. | |
bool | is_empty () const |
Check if we just select all elements. | |
void | set_to_empty () |
Disregard everything and just return no items. | |
void | add_union (std::unique_ptr< stl::Sequences< size_t >> seq) |
void | add_singleton (size_t singleton) |
Add a set of one single element to intersect with the rest. | |
void | add_set (const std::set< size_t > &p) |
void | add_set (std::unique_ptr< std::set< size_t > > p) |
Add a set, taking over its memory management. | |
Protected Attributes | |
std::vector< std::set< size_t > * > | transient_sets |
Keep track of transient sets here, for memory management purpose. | |
stl::Sequences< size_t > * | others_to_intersect |
Sequences of possible results to be intersected. | |
stl::SetIntersection< size_t > * | indices |
Sets of possible results, to be intersected. | |
bool | all |
True if all elements are selected. | |
bool | empty |
True if it has been determined that there are no results. | |
Non-template part of Results, split here for faster compilation.