libdballe  6.8
Public Member Functions | Protected Attributes
dballe::memdb::results::Base Class Reference

Non-template part of Results, split here for faster compilation. More...

#include <results.h>

Inheritance diagram for dballe::memdb::results::Base:
dballe::memdb::Results< T >

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::auto_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::auto_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.
 

Detailed Description

Non-template part of Results, split here for faster compilation.


The documentation for this class was generated from the following file: