mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Enhancement - Record::composeF4
- Implemented Record::composeF4.
This commit is contained in:
parent
4cbc67b30b
commit
2dc566a726
3 changed files with 19 additions and 2 deletions
|
@ -59,6 +59,22 @@ Record::~Record ()
|
|||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Record::composeF4 ()
|
||||
{
|
||||
std::string ff4 = "[";
|
||||
|
||||
bool first = true;
|
||||
foreach (r, (*this))
|
||||
{
|
||||
ff4 += (first ? "" : " ");
|
||||
ff4 += r->second.composeF4 ();
|
||||
}
|
||||
|
||||
ff4 += "]";
|
||||
return ff4;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// start --> [ --> name --> : --> " --> value --> " --> ] --> end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue