Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::G::SList< T > Class Template Reference

Template version of glib GSList, holding only a subset of functions that can be contained inside a glist. More...

#include <slist.hh>

List of all members.

Public Member Functions


Detailed Description

template<class T>
class Xfc::G::SList< T >

Template version of glib GSList, holding only a subset of functions that can be contained inside a glist.

The template has all of the short commings of the underlaying GSList, and adds only type safty and some simple conversions.

Also note that the list holds a pointer to the elements inside the list and that these pointers are unmaintained and unreferenced.

The template are ment as a thin wrapper to be able to handle listed handed over by the underlaying GTK layer as cheap as possible.

This class in NOT thread safe.


Member Function Documentation

template<class T>
Xfc::G::SList< T >::operator std::list< T * > & (  )  const [inline]

Convert to the nearest STL container, but only on demand.

This is a full copy, and perform as that !


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3