47 pDictRef.
forEach([&](
string& xKeyRef,
string* xValuePtr) {
48 pOutputRef << xKeyRef <<
"=" << *xValuePtr << endl;
63 while (!pInputRef.eof()) {
65 getline(pInputRef,vLine);
72 size_t vEqPos = vLine.find(
"=");
74 if (string::npos != vEqPos) {
76 string vKey = vLine.substr(0,vEqPos);
77 string vValue = vLine.substr(vEqPos+1);
79 pDictRef.
put(vKey,vValue);
93 pArrayRef.
forEach([&](
string* xValuePtr) {
95 pOutputRef << *xValuePtr << endl;
104 bool vResult =
false;
109 while (!pInputRef.eof()) {
111 getline(pInputRef,vLine);
116 if (vLine.size()>0) {
117 pArrayRef.
push(vLine);