openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::Keys::P Struct Reference
Collaboration diagram for openmsx::Keys::P:
Collaboration graph
[legend]

Public Member Functions

constexpr P (cstd::string s, KeyCode k)
 
constexpr Poperator= (const P &o)
 
constexpr P (const P &p)=default
 

Public Attributes

cstd::string first
 
KeyCode second
 

Detailed Description

Definition at line 13 of file Keys.cc.

Constructor & Destructor Documentation

◆ P() [1/2]

constexpr openmsx::Keys::P::P ( cstd::string  s,
KeyCode  k 
)
inline

Definition at line 14 of file Keys.cc.

Referenced by operator=().

◆ P() [2/2]

constexpr openmsx::Keys::P::P ( const P p)
default

Member Function Documentation

◆ operator=()

constexpr P& openmsx::Keys::P::operator= ( const P o)
inline

Definition at line 18 of file Keys.cc.

References first, P(), and second.

Member Data Documentation

◆ first

cstd::string openmsx::Keys::P::first

Definition at line 25 of file Keys.cc.

Referenced by openmsx::Keys::CmpKeys::operator()(), and operator=().

◆ second

KeyCode openmsx::Keys::P::second

Definition at line 26 of file Keys.cc.

Referenced by operator=().


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