Ignore:
Timestamp:
Feb 26, 2008, 11:09:04 PM (14 years ago)
Author:
Peter
Message:

refs #343 moving data to inherited classes and using SmartPtr?.

File:
1 edited

Legend:

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

    r1168 r1169  
    3131#include "yat/utility/Index.h"
    3232#include "yat/utility/iterator_traits.h"
     33#include "yat/utility/SmartPtr.h"
    3334#include "yat/utility/StrideIterator.h"
    3435
     
    295296    friend class MatrixLookupWeighted;
    296297
    297     const utility::Matrix* data_;
     298    typedef utility::SmartPtr<const utility::Matrix> MatrixP;
     299    MatrixP data_;
    298300  }; 
    299301 
     302  ///
     303  /// The output operator DataLookup2D
     304  ///
     305  std::ostream& operator<< (std::ostream& s, const MatrixLookup&);
     306
    300307}}} // of namespace classifier, yat, and theplu
    301308
Note: See TracChangeset for help on using the changeset viewer.