Loading...
Searching...
No Matches
Public Member Functions | Protected Types | List of all members
MetaDataCollectorSVG Class Reference

#include <graphics.h>

Inheritance diagram for MetaDataCollectorSVG:
Inheritance graph
[legend]
Collaboration diagram for MetaDataCollectorSVG:
Collaboration graph
[legend]

Public Member Functions

int visitPrefix (TreeSVG &tree, const TreeSVG::path_t &path) override
 
int visitPostfix (TreeSVG &tree, const TreeSVG::path_t &path) override
 Iterate children and their attributes: check which attributes (key and value) are shared by all the children.
 
- 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.
 

Protected Types

typedef std::map< std::string, unsigned short > variableStat_t
 

Detailed Description

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;

};

Member Function Documentation

◆ visitPostfix()

int visitPostfix ( TreeSVG &  tree,
const TreeSVG::path_t &  path 
)
override

Iterate children and their attributes: check which attributes (key and value) are shared by all the children.

Collects meta data written upon creating image panels.

Statistics: computer count for each (key,value) pair, for example (what:time, "20240115")

Number of children having (any) metadata.

Iterate children and their attributes: mark down all the (key,value) pairs.


The documentation for this class was generated from the following files: