DotNameLib
Loading...
Searching...
No Matches
dotnamecpp::utils::WindowsPlatformInfo Class Referencefinal

Windows-specific platform information implementation. More...

#include <WindowsPlatformInfo.hpp>

Inheritance diagram for dotnamecpp::utils::WindowsPlatformInfo:
Collaboration diagram for dotnamecpp::utils::WindowsPlatformInfo:

Public Member Functions

 WindowsPlatformInfo ()=default
 WindowsPlatformInfo (const WindowsPlatformInfo &)=delete
WindowsPlatformInfooperator= (const WindowsPlatformInfo &)=delete
 WindowsPlatformInfo (WindowsPlatformInfo &&)=delete
WindowsPlatformInfooperator= (WindowsPlatformInfo &&)=delete
 ~WindowsPlatformInfo () override=default
Platform getPlatform () const override
 Get the Platform object.
std::string getPlatformName () const override
 Get the Platform Name object.
Result< std::filesystem::path, FileErrorgetExecutablePath () const override
 Get the Executable Path object.
Result< std::filesystem::path, FileErrorgetExecutableDirectory () const override
 Get the Executable Directory object.
bool isWindows () const override
 Check if the platform is Windows.
bool isLinux () const override
 Check if the platform is Linux.
bool isMacOS () const override
 Check if the platform is macOS.
bool isEmscripten () const override
 Check if the platform is Emscripten.
Public Member Functions inherited from dotnamecpp::utils::IPlatformInfo
virtual ~IPlatformInfo ()=default

Detailed Description

Windows-specific platform information implementation.

Constructor & Destructor Documentation

◆ WindowsPlatformInfo() [1/3]

dotnamecpp::utils::WindowsPlatformInfo::WindowsPlatformInfo ( )
default
Here is the caller graph for this function:

◆ WindowsPlatformInfo() [2/3]

dotnamecpp::utils::WindowsPlatformInfo::WindowsPlatformInfo ( const WindowsPlatformInfo & )
delete
Here is the call graph for this function:

◆ WindowsPlatformInfo() [3/3]

dotnamecpp::utils::WindowsPlatformInfo::WindowsPlatformInfo ( WindowsPlatformInfo && )
delete
Here is the call graph for this function:

◆ ~WindowsPlatformInfo()

dotnamecpp::utils::WindowsPlatformInfo::~WindowsPlatformInfo ( )
overridedefault

Member Function Documentation

◆ getExecutableDirectory()

Result< std::filesystem::path, FileError > dotnamecpp::utils::WindowsPlatformInfo::getExecutableDirectory ( ) const
nodiscardoverridevirtual

Get the Executable Directory object.

Returns
Result<std::filesystem::path, FileError>

Implements dotnamecpp::utils::IPlatformInfo.

Here is the call graph for this function:

◆ getExecutablePath()

Result< std::filesystem::path, FileError > dotnamecpp::utils::WindowsPlatformInfo::getExecutablePath ( ) const
nodiscardoverridevirtual

Get the Executable Path object.

Returns
Result<std::filesystem::path, FileError>

Implements dotnamecpp::utils::IPlatformInfo.

Here is the caller graph for this function:

◆ getPlatform()

Platform dotnamecpp::utils::WindowsPlatformInfo::getPlatform ( ) const
nodiscardoverridevirtual

Get the Platform object.

Returns
Platform

Implements dotnamecpp::utils::IPlatformInfo.

◆ getPlatformName()

std::string dotnamecpp::utils::WindowsPlatformInfo::getPlatformName ( ) const
nodiscardoverridevirtual

Get the Platform Name object.

Returns
std::string

Implements dotnamecpp::utils::IPlatformInfo.

◆ isEmscripten()

bool dotnamecpp::utils::WindowsPlatformInfo::isEmscripten ( ) const
nodiscardoverridevirtual

Check if the platform is Emscripten.

Returns
true
false

Implements dotnamecpp::utils::IPlatformInfo.

◆ isLinux()

bool dotnamecpp::utils::WindowsPlatformInfo::isLinux ( ) const
nodiscardoverridevirtual

Check if the platform is Linux.

Returns
true
false

Implements dotnamecpp::utils::IPlatformInfo.

◆ isMacOS()

bool dotnamecpp::utils::WindowsPlatformInfo::isMacOS ( ) const
nodiscardoverridevirtual

Check if the platform is macOS.

Returns
true
false

Implements dotnamecpp::utils::IPlatformInfo.

◆ isWindows()

bool dotnamecpp::utils::WindowsPlatformInfo::isWindows ( ) const
nodiscardoverridevirtual

Check if the platform is Windows.

Returns
true
false

Implements dotnamecpp::utils::IPlatformInfo.

◆ operator=() [1/2]

WindowsPlatformInfo & dotnamecpp::utils::WindowsPlatformInfo::operator= ( const WindowsPlatformInfo & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

WindowsPlatformInfo & dotnamecpp::utils::WindowsPlatformInfo::operator= ( WindowsPlatformInfo && )
delete
Here is the call graph for this function:

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