5#ifndef CORACOOL_CORACOOLOBJECTITER_H
6#define CORACOOL_CORACOOLOBJECTITER_H
32#include "CoolKernel/IObjectIterator.h"
75 unsigned int size()
const;
76 unsigned int terms()
const;
78 unsigned int add(
const long long value);
81 void getQuery(std::string& where,
const std::string& coralkey,
82 coral::AttributeList& fkeys,
const coral::AttributeSpecification& spec);
90 std::string
addKey(
unsigned int& key,
91 coral::AttributeList& fkeys,
92 const coral::AttributeSpecification& spec,
93 const long long value);
102 bool equalAttr(
const coral::Attribute& a1,
const coral::Attribute& a2)
const;
103 bool isNumAttr(
const std::string& spec)
const;
104 long long numAttr(
const std::string& spec,
const coral::Attribute&
a)
const;
113 coral::AttributeListSpecification*
m_spec;
boost::shared_ptr< CoraCoolObject > CoraCoolObjectPtr
QueryBuilder(const unsigned int size)
unsigned int size() const
QueryBuilder & operator=(const QueryBuilder &)
unsigned int terms() const
std::string addKey(unsigned int &key, coral::AttributeList &fkeys, const coral::AttributeSpecification &spec, const long long value)
unsigned int add(const long long value)
QueryBuilder(const QueryBuilder &)
void getQuery(std::string &where, const std::string &coralkey, coral::AttributeList &fkeys, const coral::AttributeSpecification &spec)
cool::IObjectIteratorPtr m_coolitr
bool isNumAttr(const std::string &spec) const
long long numAttr(const std::string &spec, const coral::Attribute &a) const
CoraCoolObjectIter(const CoraCoolObjectIter &)
bool equalAttr(const coral::Attribute &a1, const coral::Attribute &a2) const
coral::AttributeListSpecification * m_spec
CoraCoolObjectIter(CoraCoolFolder *coracoolfolder, cool::IObjectIteratorPtr coolptr)
std::vector< CoraCoolObjectPtr > m_data
CoraCoolObjectIter & operator=(const CoraCoolObjectIter &)
CoraCoolFolder * m_folder
CoraCoolObject & currentRef()