tetengo 1.8.2
A multipurpose library set
Loading...
Searching...
No Matches
tetengo::platform_dependent::property_set_file_path Class Reference

A property set file path. More...

#include <propertyX.hpp>

+ Inheritance diagram for tetengo::platform_dependent::property_set_file_path:
+ Collaboration diagram for tetengo::platform_dependent::property_set_file_path:

Public Member Functions

 ~property_set_file_path ()
 Destroys the property set file path.
 
std::filesystem::path to_native_path (const std::filesystem::path &generic_path) const
 Converts a generic path to a native path.
 
std::filesystem::path to_native_top_path (const std::filesystem::path &generic_path) const
 Converts a generic path to a native top path.
 

Static Public Member Functions

static const property_set_file_pathinstance ()
 Returns the instance.
 

Detailed Description

A property set file path.

Member Function Documentation

◆ instance()

static const property_set_file_path & tetengo::platform_dependent::property_set_file_path::instance ( )
staticnodiscard

Returns the instance.

Returns
The instance.

◆ to_native_path()

std::filesystem::path tetengo::platform_dependent::property_set_file_path::to_native_path ( const std::filesystem::path & generic_path) const
nodiscard

Converts a generic path to a native path.

Parameters
generic_pathA generic path.
Returns
A native path.
Exceptions
std::invalid_argumentWhen generic_path is empty.

◆ to_native_top_path()

std::filesystem::path tetengo::platform_dependent::property_set_file_path::to_native_top_path ( const std::filesystem::path & generic_path) const
nodiscard

Converts a generic path to a native top path.

Parameters
generic_pathA generic path.
Returns
A native top path.
Exceptions
std::invalid_argumentWhen generic_path is empty.

The documentation for this class was generated from the following file: