class mrpt::Stringifyable
Python API: mrpt.core.Stringifyable
Overview
Interface for classes whose state can be represented as a human-friendly text.
#include <mrpt/core/Stringifyable.h> class Stringifyable { public: // construction Stringifyable(); // methods virtual std::string asString() const = 0; }; // direct descendants template <class DERIVEDCLASS, std::size_t DIM> class CPoint; class CVehicleVelCmd; class CMetricMap; struct TSegment2D; struct TSegment3D; class CObservation; class CPose2D; class CPose3D; class CPose3DPDF; class CPose3DQuat; class CPosePDF; class CListOfClasses;
Methods
virtual std::string asString() const = 0
Returns a human-friendly textual description of the object.
For classes with a large/complex internal state, only a summary should be returned instead of the exhaustive enumeration of all data members.