open_iA 2024.9
Loading...
Searching...
No Matches
iAListNameMapper Class Reference

Maps numbers to names via a given list. More...

#include <iAListNameMapper.h>

Inheritance diagram for iAListNameMapper:
[legend]
Collaboration diagram for iAListNameMapper:
[legend]

Public Member Functions

 iAListNameMapper (QStringList const &names)
 
int GetIdx (QString const &name, bool &ok) const override
 
QString name (int idx) const override
 
int size () const override
 
- Public Member Functions inherited from iANameMapper
virtual ~iANameMapper ()
 

Detailed Description

Maps numbers to names via a given list.

Constructor & Destructor Documentation

◆ iAListNameMapper()

iAListNameMapper::iAListNameMapper ( QStringList const & names)
inline

Member Function Documentation

◆ GetIdx()

int iAListNameMapper::GetIdx ( QString const & name,
bool & ok ) const
inlineoverridevirtual

Implements iANameMapper.

◆ name()

QString iAListNameMapper::name ( int idx) const
inlineoverridevirtual

Implements iANameMapper.

◆ size()

int iAListNameMapper::size ( ) const
inlineoverridevirtual

Implements iANameMapper.


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