SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::PathInfo Struct Reference

Information about a path on the filesystem. More...

Inheritance diagram for SDL::PathInfo:
[legend]

Public Member Functions

constexpr PathInfo (const PathInfoRaw &pathInfo={}) noexcept
 Wraps PathInfo.
constexpr bool operator== (std::nullptr_t) const noexcept
 Compare with nullptr.
constexpr operator bool () const noexcept
 Check if valid.

Detailed Description

Information about a path on the filesystem.

Since
This datatype is available since SDL 3.2.0.
See also
GetPathInfo
Storage.GetPathInfo

Constructor & Destructor Documentation

◆ PathInfo()

SDL::PathInfo::PathInfo ( const PathInfoRaw & pathInfo = {})
inlineconstexprnoexcept

Wraps PathInfo.

Parameters
pathInfothe value to be wrapped

Member Function Documentation

◆ operator bool()

SDL::PathInfo::operator bool ( ) const
inlineexplicitconstexprnoexcept

Check if valid.

Returns
True if valid state, false otherwise.

◆ operator==()

bool SDL::PathInfo::operator== ( std::nullptr_t ) const
inlineconstexprnoexcept

Compare with nullptr.

Returns
True if invalid state, false otherwise.

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