Aleph-w  1.9
General library for algorithms and data structures
GenericItems< Container, T > Struct Template Reference

#include <ah-dry.H>

Public Member Functions

DynList< T > items () const
 
DynList< T > keys () const
 

Detailed Description

template<class Container, typename T>
struct GenericItems< Container, T >

Generic list of items stored in a container.

Member Function Documentation

◆ items()

template<class Container , typename T >
DynList<T> GenericItems< Container, T >::items ( ) const
inline

Return a list of all the elements of a container sorted by traversal order.

Returns
a DynList<T> containing all the elements of the container
Exceptions
bad_allocif there is no enough memory

◆ keys()

template<class Container , typename T >
DynList<T> GenericItems< Container, T >::keys ( ) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


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

Leandro Rabindranath León