7#ifndef INTERMEDIATEREPRESENTATION_HH
8#define INTERMEDIATEREPRESENTATION_HH
100 unsigned int maxBits;
102 Filter(
const QMetaObject &type,
unsigned int bits);
103 Filter(
const QMetaObject &type,
unsigned int minBits,
unsigned int maxBits);
115 QList<Filter> _filter;
Generic list class for config objects.
Definition configobject.hh:251
Filters instances by a test function.
Definition intermediaterepresentation.hh:58
virtual bool toRemove(ConfigItem *item)=0
Abstract test function.
AbstractObjectFilterVisitor()
Hidden constructor.
Definition intermediaterepresentation.cc:115
bool processList(AbstractConfigObjectList *list, const ErrorStack &err)
Traverses the list of objects or references.
Definition intermediaterepresentation.cc:145
bool processProperty(ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err)
Processes the specified property of the item.
Definition intermediaterepresentation.cc:122
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:35
Only keeps those encryption keys, that match a specific type and size.
Definition intermediaterepresentation.hh:95
bool toRemove(ConfigItem *item)
Abstract test function.
Definition intermediaterepresentation.cc:218
Base class of all encryption keys.
Definition encryptionextension.hh:10
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Filters instance by meta object.
Definition intermediaterepresentation.hh:79
QList< QMetaObject > _filter
The list of filtered types.
Definition intermediaterepresentation.hh:89
Base visitor class for the config tree.
Definition visitor.hh:20
Simple visitor that merges zones.
Definition intermediaterepresentation.hh:35
bool processList(AbstractConfigObjectList *list, const ErrorStack &err)
Traverses the list of objects or references.
Definition intermediaterepresentation.cc:58
ZoneMergeVisitor()
Constructor.
Definition intermediaterepresentation.cc:51
Zone * _lastZone
The last zone visited, nullptr if the first zone is processed.
Definition intermediaterepresentation.hh:45
QList< Zone * > _mergedZones
Zones to be removed.
Definition intermediaterepresentation.hh:47
bool processItem(ConfigItem *item, const ErrorStack &err)
Traverses the specified config item.
Definition intermediaterepresentation.cc:87
Simple visitor that splits Zones having A and B channels into two zones with A-lists only.
Definition intermediaterepresentation.hh:22
ZoneSplitVisitor()
Constructor.
Definition intermediaterepresentation.cc:11
bool processItem(ConfigItem *item, const ErrorStack &err)
Traverses the specified config item.
Definition intermediaterepresentation.cc:18
Represents a zone within the generic configuration.
Definition zone.hh:15
Definition intermediaterepresentation.hh:97