mrdocs::files::appendPath

appendPath overloads

Synopses

Declared in <mrdocs/Support/Path.hpp>

Append a component to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name);
» more...

Append two components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2);
» more...

Append three components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2,
    std::string_view name3);
» more...

Append four components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2,
    std::string_view name3,
    std::string_view name4);
» more...

Return Value

Combined path string.

Parameters

Name Description
basePath Base path.
name Component to append.
name1 First component to append.
name2 Second component to append.
name3 Third component to append.
name4 Fourth component to append.