7 #ifndef __data_RecordOperation_h__ 8 #define __data_RecordOperation_h__ 13 typedef std::list<BaseAccessor> FilterList;
32 FilterList &filters(
void);
42 inline RecordOperation::RecordOperation(
void)
47 inline RecordOperation::RecordOperation(
sp<Scope> &spScope)
52 inline RecordOperation::~RecordOperation(
void)
57 inline FilterList &RecordOperation::filters(
void)
62 inline void RecordOperation::addFilter(
const BaseAccessor &filter)
64 m_filters.push_back(filter);
67 inline void RecordOperation::setup(
BaseAccessor &accessor,
70 if(!m_spScope.isValid())
71 feX(
"RecordOperation::setup",
"invalid scope");
72 accessor.
setup(m_spScope, attribute);
virtual void all(RecordOperation &op)
Perform the RecordOperation op on all records.
Definition: RecordGroup.cc:213
kernel
Definition: namespace.dox:3
Type inspecific Accessor.
Definition: Accessor.h:26
An operation on a record.
Definition: RecordOperation.h:24
virtual void operator()(const Record &record)=0
Override this function to implement the record operation.
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
void setup(sp< Scope > spScope, const String &attribute)
setup functions setup the accessor and also setup the Scope.
Definition: Accessor.cc:113