A "handle" for specialized element classes, i.e. with members like width
, height
or radius
.
More...
template<class T = int>
template<T ELEM>
class drain::NodeXML< T >::Elem< ELEM >
A "handle" for specialized element classes, i.e. with members like width
, height
or radius
.
The members should be implemented as drain::FlexibleVariable &, instantiated like height
(node["height"] = 0) .
Example:
template <>
template <>
class NodeXML<image::svg::tag_t>::Elem<image::svg::tag_t::CIRCLE>{
public:
inline
node.setType(image::svg::tag_t::CIRCLE);
};
};
A "handle" for specialized element classes, i.e. with members like width , height or radius .
Definition TreeXML.h:102
VariableT is a final class applied through typedefs Variable, Reference and FlexibleVariable.
Definition VariableT.h:87
- See also
- drain::image::NodeSVG
The documentation for this class was generated from the following file: