AddText.cc
Go to the documentation of this file.
1 #include "AddText.h"
2 #include <boost/tokenizer.hpp>
3 
4 using namespace boost;
5 using namespace std;
6 
7 
8 namespace SdCalibPlotterOG {
9 
10  void
11  AddText(TPaveText& pt, const string& str)
12  {
13  typedef tokenizer<boost::char_separator<char>> tokenizer;
14  char_separator<char> separator("\n");
15  tokenizer tokens(str, separator);
16  for (const auto& t : tokens)
17  pt.AddText(t.c_str());
18  }
19 
20 }
void AddText(TPaveText &pt, const string &str)
Definition: AddText.cc:11

, generated on Tue Sep 26 2023.