Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Functions | Variables
at_path.hpp File Reference
#include "forward_declarations.hpp"
Include dependency graph for at_path.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< const node > TOML_CALLCONV at_path (const node &root, std::string_view path) noexcept
 Returns a const view of the node matching a fully-qualified "TOML path".
 
TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< node > TOML_CALLCONV at_path (node &root, std::wstring_view path)
 Returns a view of the node matching a fully-qualified "TOML path".
 
TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< const node > TOML_CALLCONV at_path (const node &root, std::wstring_view path)
 Returns a const view of the node matching a fully-qualified "TOML path".
 

Variables

 TOML_NAMESPACE_START
 
 TOML_NAMESPACE_END
 

Function Documentation

◆ at_path() [1/3]

TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< const node > TOML_CALLCONV at_path ( const node &  root,
std::string_view  path 
)
noexcept

Returns a const view of the node matching a fully-qualified "TOML path".

See also
#toml::at_path(node&, std::string_view)

◆ at_path() [2/3]

TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< const node > TOML_CALLCONV at_path ( const node &  root,
std::wstring_view  path 
)

Returns a const view of the node matching a fully-qualified "TOML path".

\availability This overload is only available when TOML_ENABLE_WINDOWS_COMPAT is enabled.

See also
#toml::at_path(node&, std::string_view)

◆ at_path() [3/3]

TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< node > TOML_CALLCONV at_path ( node &  root,
std::wstring_view  path 
)

Returns a view of the node matching a fully-qualified "TOML path".

\availability This overload is only available when TOML_ENABLE_WINDOWS_COMPAT is enabled.

See also
#toml::at_path(node&, std::string_view)

Variable Documentation

◆ TOML_NAMESPACE_END

TOML_NAMESPACE_END

Definition at line 93 of file at_path.hpp.

◆ TOML_NAMESPACE_START

TOML_NAMESPACE_START
Initial value:
{
node_view<node> TOML_CALLCONV at_path(node & root, std::string_view path) noexcept
TOML_NODISCARD TOML_EXPORTED_FREE_FUNCTION node_view< const node > TOML_CALLCONV at_path(const node &root, std::string_view path) noexcept
Returns a const view of the node matching a fully-qualified "TOML path".
A TOML path.
Definition path.hpp:209
#define TOML_CALLCONV
Calling convention to apply to exported free/static functions. \detail Not defined by default (let th...
#define TOML_EXPORTED_FREE_FUNCTION
An 'export' annotation to add to free functions. \detail Not defined by default.
#define TOML_NODISCARD

Definition at line 21 of file at_path.hpp.