Class CustomXMLPrinter

Inheritance Relationships

Base Type

  • public tinyxml2::XMLPrinter

Class Documentation

class CustomXMLPrinter : public tinyxml2::XMLPrinter

The CustomXMLPrinter class Overrides the PrintSpace function to print 2 white spaces as indentation instead of 4 white spaces, which is a ROS 2 practice.

Public Functions

inline CustomXMLPrinter(FILE *fp, bool compact = false)
inline void PrintSpace(int depth) override