MyCollection Class

Definition

Line 48 of RangeFor/range_for.cm

Member Functions

public void Add(const Foo& foo)
public RandomAccessIter<Foo, Foo&, Foo*> Begin()
public RandomAccessIter<Foo, const Foo&, const Foo*> Begin() const
public RandomAccessIter<Foo, const Foo&, const Foo*> CBegin() const
public RandomAccessIter<Foo, const Foo&, const Foo*> CEnd() const
public RandomAccessIter<Foo, Foo&, Foo*> End()
public RandomAccessIter<Foo, const Foo&, const Foo*> End() const

Typedefs

public typedef ConstIterator RandomAccessIter<Foo, const Foo&, const Foo*>
public typedef Iterator RandomAccessIter<Foo, Foo&, Foo*>

Member Variables

private List<Foo> fooList

Member Function Details

Add Member Function

public void Add(const Foo& foo)

Definition
Line 76 of RangeFor/range_for.cm


Begin Member Function

public RandomAccessIter<Foo, Foo&, Foo*> Begin()

Definition
Line 60 of RangeFor/range_for.cm


Begin Member Function

public RandomAccessIter<Foo, const Foo&, const Foo*> Begin()

Definition
Line 56 of RangeFor/range_for.cm


CBegin Member Function

public RandomAccessIter<Foo, const Foo&, const Foo*> CBegin()

Definition
Line 52 of RangeFor/range_for.cm


CEnd Member Function

public RandomAccessIter<Foo, const Foo&, const Foo*> CEnd()

Definition
Line 64 of RangeFor/range_for.cm


End Member Function

public RandomAccessIter<Foo, Foo&, Foo*> End()

Definition
Line 72 of RangeFor/range_for.cm


End Member Function

public RandomAccessIter<Foo, const Foo&, const Foo*> End()

Definition
Line 68 of RangeFor/range_for.cm