mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Xml_node::Attribute::value_size accessor
This commit is contained in:
committed by
Christian Helmuth
parent
a60966150e
commit
99979e09ed
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user