Struct INodeInfo#

Inheritance Relationships#

Derived Type#

Struct Documentation#

struct INodeInfo#

Node information interface.

Subclassed by CNode

Public Functions

virtual sdv::u8string GetName() const = 0#

Get the node name.

Returns:

String containing the name of the node.

virtual ENodeType GetType() const = 0#

Get the node type.

Returns:

Type of the node.

virtual sdv::any_t GetValue() const = 0#

The node value.

Returns:

For boolean, integer, floating point and strings, the function returns a value. Otherwise the function returns empty.

virtual sdv::u8string GetTOML() const = 0#

Return the TOML string belonging to this node including all potential child nodes.

Returns:

The TOML string.

u8string GetName() const

Get the node name.

Returns:

String containing the name of the node.

ENodeType GetType() const

Get the node type.

Returns:

Type of the node.

any GetValue() const

The node value.

Returns:

For boolean, integer, floating point and strings, the function returns a value. Otherwise the function returns empty.

u8string GetTOML() const

Return the TOML string belonging to this node including all potential child nodes.

Returns:

The TOML string.

Public Static Attributes

static ::sdv::interface_id _id = 0x238A8EF0420C4DB8#

Interface ID.