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 376 of file Seq.hpp.


Constructor & Destructor Documentation

ShapeForeachContainer ( const T &  t  )  [inline]

Definition at line 378 of file Seq.hpp.

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


Member Function Documentation

bool condition (  )  const [inline]

Definition at line 382 of file Seq.hpp.

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

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


Member Data Documentation

int brk [mutable]

Definition at line 380 of file Seq.hpp.

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

const T c

Definition at line 378 of file Seq.hpp.

T::const_iterator e [mutable]

Definition at line 381 of file Seq.hpp.

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

T::const_iterator i [mutable]

Definition at line 381 of file Seq.hpp.

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


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

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1