SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SDL::PathInfo Struct Reference

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

Inheritance diagram for SDL::PathInfo:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ PathInfo()

constexpr SDL::PathInfo::PathInfo ( const SDL_PathInfo &  pathInfo = {})
inlineconstexpr
Parameters
pathInfothe value to be wrapped

Member Function Documentation

◆ operator bool()

constexpr SDL::PathInfo::operator bool ( ) const
inlineexplicitconstexpr
Returns
True if valid state, false otherwise.

◆ operator==()

constexpr bool SDL::PathInfo::operator== ( std::nullptr_t  _) const
inlineconstexpr
Returns
True if invalid state, false otherwise.

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