34 cout <<
"Value: " << str->String().Data() << endl;
43 SFind(
const TString &aStr): fToFind(aStr) {
48 return !str->String().CompareTo(fToFind);
63 for (
int i = 0; i <
size; ++i) {
64 ss <<
"test string #" << i;
73 for_each(stringList.
begin(), stringList.
end(), SEnumFunctor());
78 string strToFind(
"test string #4");
79 SFind func(strToFind.c_str());
87 cerr <<
"Can't find the string: \"" << strToFind <<
"\" in the container" << endl;
93 cerr <<
"Can't find the string: \"" << strToFind <<
"\" in the container" << endl;
97 cout <<
"The string has been found: " << str->String().Data() << endl;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
TRObject operator()(const T1 &t1) const
void Add(TObject *obj) override
Collectable string class.
Mother of all ROOT objects.