JX Application Framework
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
JStrValue< V > Class Template Reference

#include <JStrValue.h>

Public Member Functions

 JStrValue ()
 
 JStrValue (const JString *k, const V &v)
 
JHashValue Hash () const
 

Public Attributes

const JStringkey
 
value
 

Detailed Description

template<class V>
class JStrValue< V >

A convenient struct for use with the most common type of JHashTable, one with string keys. JHashTable< JStrValue<V> > is a hash table with a string key and an arbitrary value.

Constructor & Destructor Documentation

◆ JStrValue() [1/2]

template<class V >
JStrValue< V >::JStrValue ( )
inline

◆ JStrValue() [2/2]

template<class V >
JStrValue< V >::JStrValue ( const JString k,
const V &  v 
)
inline

Member Function Documentation

◆ Hash()

template<class V >
JHashValue JStrValue< V >::Hash ( ) const
inline

Member Data Documentation

◆ key

template<class V >
const JString* JStrValue< V >::key

◆ value

template<class V >
V JStrValue< V >::value

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