Warning, file /include/root/ROOT/RPaveText.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ROOT7_RPaveText
0010 #define ROOT7_RPaveText
0011
0012 #include <ROOT/RPave.hxx>
0013
0014 namespace ROOT {
0015 namespace Experimental {
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 class RPaveText : public RPave {
0027
0028 std::vector<std::string> fText;
0029
0030 public:
0031 RPaveText() : RPave("pavetext") {}
0032
0033 void AddLine(const std::string &txt) { fText.emplace_back(txt); }
0034
0035 auto NumLines() const { return fText.size(); }
0036
0037 const std::string &GetLine(int n) const { return fText[n]; }
0038
0039 void ClearLines() { fText.clear(); }
0040 };
0041
0042 }
0043 }
0044
0045 #endif