class KeyNode
Inherited from: Node.
Required header: <Eclog/KeyNode.h>
The KeyNode abstract class represents a key node in a document tree (See Document).
Name | Description |
---|---|
str | Gets the key. |
setNotation | Sets the string notation. |
notation | Gets the string notation. |
setDelimiter | Sets the string delimiter. |
delimiter | Gets the string delimiter. |
virtual cstring str() const;
Gets the key.
cstring The key.
virtual void setNotation(StringNotation notation);
Sets the string notation.
StringNotation notation The string notation to be used when rendering the key.
virtual StringNotation notation() const;
Gets the string notation.
StringNotation The string notation to be used when rendering the key.
virtual void setDelimiter(cstring delimiter);
virtual void setDelimiter(cstring delimiter, ErrorCode& ec);
Sets the string delimiter.
cstring delimiter The string delimiter to be used when rendering the key.
ErrorCode&
ec Set to indicate what error occurred, if any.
An InvalidArgument
error occurs if delimiter is invalid.
virtual cstring delimiter() const;
Gets the string delimiter.
cstring The string delimiter to be used when rendering the key.