Ignore:
Timestamp:
Feb 18, 2008, 6:14:46 AM (14 years ago)
Author:
Peter
Message:

adding iterator typedefs in MatrixLookup?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/MatrixLookup.h

    r1083 r1104  
    7878    const_iterator;
    7979
     80    typedef const_iterator const_column_iterator;
     81    typedef const_iterator const_row_iterator;
     82
    8083    ///
    8184    /// Constructor creating a lookup into the entire @a matrix.
     
    234237       \return iterator pointing to first element of column \a i.
    235238     */
    236     const_iterator begin_column(size_t) const;
     239    const_column_iterator begin_column(size_t) const;
    237240
    238241    /**
     
    241244       \return const_iterator pointing to first element of column \a i.
    242245     */
    243     const_iterator begin_row(size_t) const;
     246    const_row_iterator begin_row(size_t) const;
    244247
    245248    /**
     
    251254       \return const_iterator pointing to end of column \a i
    252255     */
    253     const_iterator end_column(size_t) const;
     256    const_column_iterator end_column(size_t) const;
    254257
    255258    /**
    256259       \return const_iterator pointing to end of row \a i
    257260     */
    258     const_iterator end_row(size_t) const;
     261    const_row_iterator end_row(size_t) const;
    259262
    260263    /**
Note: See TracChangeset for help on using the changeset viewer.