openMSX
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
StringMapEntry< T > Class Template Reference

#include <StringMap.hh>

Inheritance diagram for StringMapEntry< T >:
Inheritance graph
[legend]
Collaboration diagram for StringMapEntry< T >:
Collaboration graph
[legend]

Public Member Functions

void destroy ()
string_ref getKey () const
string_ref first () const
const T & getValue () const
T & getValue ()
void setValue (const T &v)
const char * getKeyData () const
- Public Member Functions inherited from StringMapEntryBase
 StringMapEntryBase (unsigned len)
unsigned getKeyLength () const

Static Public Member Functions

static StringMapEntrycreate (string_ref key, T v)
static StringMapEntryGetStringMapEntryFromValue (T &v)
static const StringMapEntryGetStringMapEntryFromValue (const T &v)
static StringMapEntryGetStringMapEntryFromKeyData (const char *keyData)

Public Attributes

second

Detailed Description

template<typename T>
class StringMapEntry< T >

Definition at line 115 of file StringMap.hh.

Member Function Documentation

template<typename T >
static StringMapEntry* StringMapEntry< T >::create ( string_ref  key,
v 
)
inlinestatic
template<typename T >
void StringMapEntry< T >::destroy ( )
inline

Definition at line 142 of file StringMap.hh.

Referenced by StringMap< MSXMotherBoard::SharedStuff >::erase().

template<typename T >
string_ref StringMapEntry< T >::first ( ) const
inline

Definition at line 150 of file StringMap.hh.

References StringMapEntry< T >::getKey().

template<typename T >
string_ref StringMapEntry< T >::getKey ( ) const
inline
template<typename T >
const char* StringMapEntry< T >::getKeyData ( ) const
inline

Definition at line 157 of file StringMap.hh.

Referenced by StringMapEntry< T >::getKey().

template<typename T >
static StringMapEntry& StringMapEntry< T >::GetStringMapEntryFromKeyData ( const char *  keyData)
inlinestatic

Definition at line 177 of file StringMap.hh.

template<typename T >
static StringMapEntry& StringMapEntry< T >::GetStringMapEntryFromValue ( T &  v)
inlinestatic
template<typename T >
static const StringMapEntry& StringMapEntry< T >::GetStringMapEntryFromValue ( const T &  v)
inlinestatic

Definition at line 171 of file StringMap.hh.

References StringMapEntry< T >::GetStringMapEntryFromValue().

template<typename T >
const T& StringMapEntry< T >::getValue ( ) const
inline

Definition at line 152 of file StringMap.hh.

References StringMapEntry< T >::second.

template<typename T >
T& StringMapEntry< T >::getValue ( )
inline

Definition at line 153 of file StringMap.hh.

References StringMapEntry< T >::second.

template<typename T >
void StringMapEntry< T >::setValue ( const T &  v)
inline

Definition at line 154 of file StringMap.hh.

References StringMapEntry< T >::second.

Member Data Documentation

template<typename T >
T StringMapEntry< T >::second

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