gatb.core-API-1.4.2
IterableHelpers Class Reference

some helper methods for Iterable objects. More...

#include <IterableHelpers.hpp>

Static Public Member Functions

template<typename T >
static bool getItems (Iterable< T > &iterable, std::vector< T > &items)
 

Detailed Description

some helper methods for Iterable objects.

Member Function Documentation

static bool getItems ( Iterable< T > &  iterable,
std::vector< T > &  items 
)
inlinestatic

Retrieve in a vector items from an Iterable instance.

Parameters
[in]iterable: the instance we want to get items from
[out]items: vector of items to be retrieved. This vector must be sized to the number of items that one wants to retrieve.

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