Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Range< I > Class Template Reference

#include <elm/data/Range.h>

Classes

class  Iter
 

Public Types

typedef I::t t
 

Public Member Functions

 Range (const I &begin, const I &end)
 
Iter begin () const
 
Iter end () const
 
bool isEmpty (void) const
 
int count (void) const
 
 operator bool (void) const
 
bool contains (const t &v)
 
template<class C >
bool containsAll (const C &c)
 

Member Typedef Documentation

◆ t

typedef I::t t

Constructor & Destructor Documentation

◆ Range()

Range ( const I &  begin,
const I &  end 
)
inline

Build a range the begin iterator to the end iterator (exclusive).

Parameters
beginIterator on the first element of the collection.
endEnd iterator past the last element of the collection (may be ended).

Member Function Documentation

◆ begin()

Iter begin ( ) const
inline

◆ contains()

bool contains ( const t v)
inline

Referenced by Range< I >::containsAll().

◆ containsAll()

bool containsAll ( const C &  c)
inline

◆ count()

int count ( void  ) const
inline

◆ end()

Iter end ( ) const
inline

◆ isEmpty()

bool isEmpty ( void  ) const
inline

◆ operator bool()

operator bool ( void  ) const
inline

References Range< I >::isEmpty().


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