20#ifndef GEODE_SELECTRESULTS_H_
21#define GEODE_SELECTRESULTS_H_
28#include "ExceptionTypes.hpp"
29#include "Serializable.hpp"
30#include "internal/geode_globals.hpp"
36class SelectResultsIterator;
53 virtual size_t size()
const = 0;
63 size_t index)
const = 0;
68 typedef std::vector<std::shared_ptr<Cacheable>>::iterator
iterator;
Contains generic template definitions for Cacheable types and instantiations for built-in types.
A SelectResults is obtained by executing a Query on the server.
Definition SelectResults.hpp:44
virtual iterator begin()=0
Get an iterator pointing to the start of SelectResults.
virtual const std::shared_ptr< Serializable > operator[](size_t index) const =0
Index operator to directly access an item in the SelectResults.
virtual iterator end()=0
Get an iterator pointing to the end of SelectResults.
virtual size_t size() const =0
Get the size of the SelectResults.
std::vector< std::shared_ptr< Cacheable > >::iterator iterator
Interface of an iterator for SelectResults.
Definition SelectResults.hpp:68