Changeset 2741 for trunk/yat/omic/DNA.h


Ignore:
Timestamp:
Jun 8, 2012, 1:46:33 AM (10 years ago)
Author:
Peter
Message:

prefer vector and string as internals in omic::DNA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/DNA.h

    r2677 r2741  
    55  $Id$
    66
    7   Copyright (C) 2010, 2011 Peter Johansson
     7  Copyright (C) 2010, 2011, 2012 Peter Johansson
    88
    99  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    2626
    2727#include <iosfwd>
    28 #include <map>
    2928#include <string>
    3029#include <vector>
     
    139138  private:
    140139    unsigned short code_;
    141     static std::map<char, unsigned short> char2code_;
    142     static std::vector<char> code2char_;
     140    static std::vector<unsigned short> char2code_;
     141    static std::string code2char_;
    143142
    144143    void init(void) const;
Note: See TracChangeset for help on using the changeset viewer.