Ignore:
Timestamp:
Feb 22, 2008, 11:31:39 PM (14 years ago)
Author:
Peter
Message:

working on ticket:234

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Index.cc

    r1106 r1126  
    4747
    4848
     49  Index::Index(const std::vector<size_t>& vec)
     50    : index_(SmartPtr<const std::vector<size_t> >(new std::vector<size_t>(vec)))
     51  {}
     52
     53
    4954  Index::Index(const Index& a, const Index& b)
    5055  {
     
    6368
    6469
     70  const std::vector<size_t>& Index::vector(void) const
     71  {
     72    return *index_;
     73  }
     74
     75
    6576  const size_t& Index::operator[](size_t i) const
    6677  {
Note: See TracChangeset for help on using the changeset viewer.