stmm-games-doc  0.32.0
Public Member Functions | List of all members
stmg::AssignableNamedIndex Class Reference

Assignable and clearable named indexes class. More...

Inheritance diagram for stmg::AssignableNamedIndex:
Inheritance graph
[legend]

Public Member Functions

AssignableNamedIndexoperator= (const AssignableNamedIndex &oSource) noexcept
 
AssignableNamedIndexoperator= (AssignableNamedIndex &&oSource) noexcept
 
- Public Member Functions inherited from stmg::NamedIndex
 NamedIndex () noexcept
 Default constructor. More...
 
 NamedIndex (const NamedIndex &oSource) noexcept
 
 NamedIndex (NamedIndex &&oSource) noexcept
 
int32_t size () const noexcept
 Returns the number of names. More...
 
bool isIndex (int32_t nIndex) const noexcept
 Whether an index is valid. More...
 
const std::string & getName (int32_t nIndex) const noexcept
 The name associated with a given index. More...
 
int32_t addName (const std::string &sName) noexcept
 Adds a name. More...
 
int32_t getIndex (const std::string &sName) const noexcept
 The index of a name. More...
 
int32_t findIndexNameStarts (const std::string &sStartOfName) const noexcept
 The first index of a name starting with a certain string. More...
 
void dump () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from stmg::NamedIndex
NamedIndexoperator= (const NamedIndex &oSource) noexcept
 The assignment operator. More...
 
NamedIndexoperator= (NamedIndex &&oSource) noexcept
 
void clear () noexcept
 Clear all names. More...
 

Detailed Description

Assignable and clearable named indexes class.

Member Function Documentation

◆ operator=() [1/2]

AssignableNamedIndex& stmg::AssignableNamedIndex::operator= ( const AssignableNamedIndex oSource)
noexcept

◆ operator=() [2/2]

AssignableNamedIndex& stmg::AssignableNamedIndex::operator= ( AssignableNamedIndex &&  oSource)
noexcept