1 #ifndef CONFIGLABELINGVISITOR_HH
2 #define CONFIGLABELINGVISITOR_HH
5 #include "configobject.hh"
Parse context for config objects.
Definition: configobject.hh:48
Base class for all configuration objects (channels, zones, contacts, etc).
Definition: configobject.hh:40
A visitor to label the entire configuration.
Definition: configlabelingvisitor.hh:11
ConfigItem::Context & _context
Holds a weak reference to the parser/serializer context.
Definition: configlabelingvisitor.hh:24
static bool label(Config *config, ConfigItem::Context &context)
Labels the configuration and stores the labels in the given context.
bool processItem(ConfigItem *item, const ErrorStack &err=ErrorStack())
Traverses the specified config item.
Definition: configlabelingvisitor.cc:10
ConfigLabelingVisitor(ConfigItem::Context &context)
Use the static method label to label the configuration.
Definition: configlabelingvisitor.cc:3
The config class, representing the codeplug configuration.
Definition: config.hh:70
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition: errorstack.hh:41
Base visitor class for the config tree.
Definition: visitor.hh:20