My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SList< T > Class Template Reference

#include <sortdict.h>

Inheritance diagram for SList< T >:

Public Member Functions

 SList (SDict< T > *owner)
 
virtual ~SList ()
 
int compareValues (const T *item1, const T *item2) const
 

Private Attributes

SDict< T > * m_owner
 

Detailed Description

template<class T>
class SList< T >

internal wrapper class that redirects compareValues() to the dictionary

Definition at line 80 of file sortdict.h.

Constructor & Destructor Documentation

template<class T>
SList< T >::SList ( SDict< T > *  owner)
inline

Definition at line 83 of file sortdict.h.

: m_owner(owner) {}
template<class T>
virtual SList< T >::~SList ( )
inlinevirtual

Definition at line 84 of file sortdict.h.

{}

Member Function Documentation

template<class T>
int SList< T >::compareValues ( const T *  item1,
const T *  item2 
) const
inline

Definition at line 85 of file sortdict.h.

{
return m_owner->compareValues(item1,item2);
}

Member Data Documentation

template<class T>
SDict<T>* SList< T >::m_owner
private

Definition at line 90 of file sortdict.h.

Referenced by SList< Example >::compareValues().


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