![]() |
|
Formats titles from metadata. Invoked by drain::TreeUtils::traverse() More...
#include <graphics.h>


Public Member Functions | |
| TitleCreatorSVG (const PanelConfSVG &svgConf) | |
| int | visitPostfix (TreeSVG &root, const TreeSVG::path_t &path) override |
| void | formatTitle (TreeSVG &group, const NodeSVG::map_t &attributes) const |
Public Member Functions inherited from TreeVisitor< TreeSVG > | |
| virtual int | visitPrefix (TreeSVG &tree, const typename T::path_t &path) |
| Tasks to be executed before traversing child nodes. | |
| virtual int | visitPostfix (TreeSVG &tree, const typename T::path_t &path) |
| Tasks to be executed after traversing child nodes. | |
Public Attributes | |
| const PanelConfSVG & | svgConf |
Formats titles from metadata. Invoked by drain::TreeUtils::traverse()
class MetaDataCollectorSVG : public drain::TreeVisitor<TreeSVG> {
public:
int visitPrefix(TreeSVG & tree, const TreeSVG::path_t & path) override; int visitPostfix(TreeSVG & tree, const TreeSVG::path_t & path) override;
protected:
typedef std::map<std::string, unsigned short> variableStat_t;
}; In tree traversal, maintains information on metadata.
Invoked by, hence compatible with drain::TreeUtils::traverse()
| void formatTitle | ( | TreeSVG & | group, |
| const NodeSVG::map_t & | attributes | ||
| ) | const |
Useful function – as attributes of two groups are considered: panel-specific and shared.
1.9.8