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

#include <DiskImageCLI.hh>

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

Public Member Functions

 DiskImageCLI (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
 

Static Public Member Functions

static std::span< const std::string_view > getExtensions ()
 

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 14 of file DiskImageCLI.hh.

Constructor & Destructor Documentation

◆ DiskImageCLI()

openmsx::DiskImageCLI::DiskImageCLI ( CommandLineParser parser)
explicit

Member Function Documentation

◆ fileTypeCategoryName()

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

Implements openmsx::CLIFileType.

Definition at line 48 of file DiskImageCLI.cc.

◆ fileTypeHelp()

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

Implements openmsx::CLIFileType.

Definition at line 43 of file DiskImageCLI.cc.

◆ getExtensions()

std::span< const std::string_view > openmsx::DiskImageCLI::getExtensions ( )
static

Definition at line 10 of file DiskImageCLI.cc.

Referenced by openmsx::ImGuiMedia::diskFilter(), and DiskImageCLI().

◆ optionHelp()

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

Implements openmsx::CLIOption.

Definition at line 32 of file DiskImageCLI.cc.

◆ parseFileType()

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

Implements openmsx::CLIFileType.

Definition at line 37 of file DiskImageCLI.cc.

References tmpStrCat().

◆ parseOption()

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

Implements openmsx::CLIOption.

Definition at line 27 of file DiskImageCLI.cc.

References openmsx::CLIOption::getArgument().


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