Xml_node::Attribute::value_size accessor

This commit is contained in:
Norman Feske 2014-01-16 23:18:59 +01:00 committed by Christian Helmuth
parent a60966150e
commit 99979e09ed

View File

@ -120,6 +120,11 @@ namespace Genode {
return strlen(type) == _name.len() &&
strcmp(type, _name.start(), _name.len()) == 0; }
/**
* Return size of value
*/
size_t value_size() const { return _value.len(); }
/**
* Return attribute value as null-terminated string
*