NeBuild dev
Loading...
Searching...
No Matches
at_path.hpp File Reference

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

◆ 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:239
#define TOML_CALLCONV
Calling convention to apply to exported free/static functions. \detail Not defined by default (let th...
Definition preprocessor.hpp:1134
#define TOML_EXPORTED_FREE_FUNCTION
An 'export' annotation to add to free functions. \detail Not defined by default.
Definition preprocessor.hpp:988
#define TOML_NODISCARD
Definition preprocessor.hpp:439