mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-22 18:22:41 +00:00
Xml_node::Attribute::value_size accessor
This commit is contained in:
parent
a60966150e
commit
99979e09ed
@ -120,6 +120,11 @@ namespace Genode {
|
|||||||
return strlen(type) == _name.len() &&
|
return strlen(type) == _name.len() &&
|
||||||
strcmp(type, _name.start(), _name.len()) == 0; }
|
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
|
* Return attribute value as null-terminated string
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user