print attributes of an item
More...
#include <tools/nfdc/format-helpers.hpp>
print attributes of an item
os << ia("id") << 500
<< ia("uri") << "udp4://192.0.2.1:6363"
<< ia.end();
Definition at line 131 of file format-helpers.hpp.
nfd::tools::nfdc::text::ItemAttributes::ItemAttributes |
( |
bool |
wantMultiLine = false , |
|
|
int |
maxAttributeWidth = 0 |
|
) |
| |
|
explicit |
constructor
- Parameters
-
wantMultiLine | true to select multi-line style, false to use single-line style |
maxAttributeWidth | maximum width of attribute names, for alignment in multi-line style |
Definition at line 121 of file format-helpers.cpp.
std::string nfd::tools::nfdc::text::ItemAttributes::end |
( |
| ) |
const |