39 std::vector<std::shared_ptr<FrameEntry>>
entries;
59 ss <<
"| " << std::setw(
width / 2 + shift) << std::left <<
title;
61 ss <<
"| " << std::setw(
width / 2 - 6) << std::left <<
data;
63 ss <<
"| " << std::setw(
width / 2 - 6) << std::right <<
data;
68 ss <<
"| " << entry->buildString(shift - 2);
76 std::shared_ptr<Data> d = std::make_shared<Data>(title_, data_);
82 std::shared_ptr<Data> d = std::make_shared<Data>(
"", std::string(
""));
94 std::vector<std::shared_ptr<FrameEntry>>
entries;
104 ss << entry->buildString(shift);
110 template <
typename T>
112 std::shared_ptr<Data> d = std::make_shared<Data>(title_, data_);
118 std::shared_ptr<Data> d = std::make_shared<Data>(
"", std::string(
""));
125 std::stringstream tmp;
126 for(
int i = 0; i <
width; i++) {
134 std::vector<std::shared_ptr<FrameEntry>>
entries;
139 std::stringstream ss;
150 ss << entry->buildString();
160 std::shared_ptr<Group> g = std::make_shared<Group>(title_);
std::basic_string< char > MString
Data(MString title_, MInt data_)
std::vector< std::shared_ptr< FrameEntry > > entries
MString buildString(const int shift=0) final
Data(MString title_, MString data_)
Data(MString title_, MBool data_)
Data & addData(const std::string &title_, T data_)
Data(MString title_, MLong data_)
Data(MString title_, MFloat data_)
virtual MString buildString(const int shift=0)=0
FrameEntry(MString title_)
virtual ~FrameEntry()=default
Group & addGroup(const std::string &title_)
std::vector< std::shared_ptr< FrameEntry > > entries
Data & addData(const std::string &title_, T data_)
std::vector< std::shared_ptr< FrameEntry > > entries
MString buildString(const int shift=0) final