Changeset 880 for trunk/yat/classifier


Ignore:
Timestamp:
Sep 22, 2007, 1:43:22 AM (14 years ago)
Author:
Peter
Message:

refs #244

Location:
trunk/yat/classifier
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/DataLookup1D.cc

    r865 r880  
    9393
    9494
     95  DataLookup1D::const_iterator DataLookup1D::begin(void) const
     96  {
     97    return DataLookup1D::const_iterator(*this, 0);
     98  }
     99
     100
     101  DataLookup1D::const_iterator DataLookup1D::end(void) const
     102  {
     103    return DataLookup1D::const_iterator(*this, size());
     104  }
     105
     106
    95107  size_t DataLookup1D::size(void) const
    96108  {
  • trunk/yat/classifier/DataLookup1D.h

    r865 r880  
    11#ifndef _theplu_yat_classifier_dataLookup1D_
    22#define _theplu_yat_classifier_dataLookup1D_
     3
     4#include "yat/utility/constIterator.h"
     5#include "yat/utility/Iterator.h"
    36
    47// $Id$
     
    4851  public:
    4952
     53    typedef utility::constIterator<const classifier::DataLookup1D>
     54    const_iterator;
     55
    5056    ///
    5157    /// Constructor.
     
    9197    ///
    9298    virtual ~DataLookup1D();
     99
     100    /**
     101     */
     102    const_iterator begin() const;
     103
     104    /**
     105     */
     106    const_iterator end() const;
    93107
    94108    ///
Note: See TracChangeset for help on using the changeset viewer.