Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ChplChapterResult Struct Reference

#include <Mp4ChplReader.h>

Public Member Functions

constexpr ChplChapterResult ()=default
 
constexpr ChplChapterResult (ChplChapterStatus s)
 
 ChplChapterResult (ChplChapterStatus s, std::string msg)
 
 operator bool () const
 
bool IsError () const
 
bool IsFound () const
 
bool IsNone () const
 

Public Attributes

ChplChapterStatus status {ChplChapterStatus::None}
 
std::optional< std::string > errorMessage
 

Constructor & Destructor Documentation

◆ ChplChapterResult() [1/3]

ChplChapterResult::ChplChapterResult ( )
constexprdefault

◆ ChplChapterResult() [2/3]

ChplChapterResult::ChplChapterResult ( ChplChapterStatus s)
inlineconstexpr

◆ ChplChapterResult() [3/3]

ChplChapterResult::ChplChapterResult ( ChplChapterStatus s,
std::string msg )
inline

Member Function Documentation

◆ IsError()

bool ChplChapterResult::IsError ( ) const
inline

◆ IsFound()

bool ChplChapterResult::IsFound ( ) const
inline

◆ IsNone()

bool ChplChapterResult::IsNone ( ) const
inline

◆ operator bool()

ChplChapterResult::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ errorMessage

std::optional<std::string> ChplChapterResult::errorMessage

◆ status

ChplChapterStatus ChplChapterResult::status {ChplChapterStatus::None}

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