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, span< std::string > &cmdLine) override
 
string_view optionHelp () const override
 
void parseFileType (const std::string &filename, span< std::string > &cmdLine) override
 
string_view fileTypeHelp () const override
 
- Public Member Functions inherited from openmsx::CLIOption
virtual void parseDone ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file SaveStateCLI.hh.

Constructor & Destructor Documentation

◆ SaveStateCLI()

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

Member Function Documentation

◆ fileTypeHelp()

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

Implements openmsx::CLIFileType.

Definition at line 48 of file SaveStateCLI.cc.

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 21 of file SaveStateCLI.cc.

◆ parseFileType()

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

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 16 of file SaveStateCLI.cc.

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


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