openMSX
Public Member Functions | List of all members
openmsx::SaveStateCLI Class Referencefinal

#include <SaveStateCLI.hh>

Inheritance diagram for openmsx::SaveStateCLI:
Inheritance graph
[legend]
Collaboration diagram for openmsx::SaveStateCLI:
Collaboration graph
[legend]

Public Member Functions

 SaveStateCLI (CommandLineParser &parser)
 
void parseOption (const std::string &option, std::span< std::string > &cmdLine) override
 
std::string_view optionHelp () const override
 
void parseFileType (const std::string &filename, std::span< std::string > &cmdLine) override
 
std::string_view fileTypeHelp () const override
 
std::string_view fileTypeCategoryName () const override
 
- Public Member Functions inherited from openmsx::CLIOption
 CLIOption (const CLIOption &)=delete
 
 CLIOption (CLIOption &&)=delete
 
CLIOptionoperator= (const CLIOption &)=delete
 
CLIOptionoperator= (CLIOption &&)=delete
 
virtual void parseDone ()
 
- Public Member Functions inherited from openmsx::CLIFileType
 CLIFileType (const CLIFileType &)=delete
 
 CLIFileType (CLIFileType &&)=delete
 
CLIFileTypeoperator= (const CLIFileType &)=delete
 
CLIFileTypeoperator= (CLIFileType &&)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::CLIOption
 CLIOption ()=default
 
 ~CLIOption ()=default
 
- Protected Member Functions inherited from openmsx::CLIFileType
 CLIFileType ()=default
 
 ~CLIFileType ()=default
 
- Static Protected Member Functions inherited from openmsx::CLIOption
static std::string getArgument (const std::string &option, std::span< std::string > &cmdLine)
 
static std::string peekArgument (const std::span< std::string > &cmdLine)
 

Detailed Description

Definition at line 10 of file SaveStateCLI.hh.

Constructor & Destructor Documentation

◆ SaveStateCLI()

openmsx::SaveStateCLI::SaveStateCLI ( CommandLineParser parser)
explicit

Member Function Documentation

◆ fileTypeCategoryName()

std::string_view openmsx::SaveStateCLI::fileTypeCategoryName ( ) const
overridevirtual

Implements openmsx::CLIFileType.

Definition at line 51 of file SaveStateCLI.cc.

◆ fileTypeHelp()

std::string_view openmsx::SaveStateCLI::fileTypeHelp ( ) const
overridevirtual

Implements openmsx::CLIFileType.

Definition at line 46 of file SaveStateCLI.cc.

◆ optionHelp()

std::string_view openmsx::SaveStateCLI::optionHelp ( ) const
overridevirtual

Implements openmsx::CLIOption.

Definition at line 20 of file SaveStateCLI.cc.

◆ parseFileType()

void openmsx::SaveStateCLI::parseFileType ( const std::string &  filename,
std::span< std::string > &  cmdLine 
)
overridevirtual

◆ parseOption()

void openmsx::SaveStateCLI::parseOption ( const std::string &  option,
std::span< std::string > &  cmdLine 
)
overridevirtual

Implements openmsx::CLIOption.

Definition at line 15 of file SaveStateCLI.cc.

References openmsx::CLIOption::getArgument(), and parseFileType().


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