realroot_doc 0.1.1
ShapeForeachContainer< T > Class Template Reference

#include <Seq.hpp>

Inheritance diagram for ShapeForeachContainer< T >:
ShapeForeachContainerBase

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename T>
class mmx::ShapeForeachContainer< T >

Definition at line 375 of file Seq.hpp.


Constructor & Destructor Documentation

ShapeForeachContainer ( const T &  t) [inline]

Definition at line 377 of file Seq.hpp.

: c(t), brk(0), i(c.begin()), e(c.end()) {} ;

Member Function Documentation

bool condition ( ) const [inline]

Definition at line 381 of file Seq.hpp.

References ShapeForeachContainer< T >::brk, ShapeForeachContainer< T >::e, and ShapeForeachContainer< T >::i.

                                  { 
        return (!brk++ && i != e) ; 
    }

Member Data Documentation

int brk [mutable]

Definition at line 379 of file Seq.hpp.

Referenced by ShapeForeachContainer< T >::condition().

const T c

Definition at line 377 of file Seq.hpp.

T::const_iterator e [mutable]

Definition at line 380 of file Seq.hpp.

Referenced by ShapeForeachContainer< T >::condition().

T::const_iterator i [mutable]

Definition at line 380 of file Seq.hpp.

Referenced by ShapeForeachContainer< T >::condition().


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