| 1 | // This file is part of A2Amapper.cxx . . $ `<file>/atac-driver/libatac/atacFeatureList.H`/ |
| 2 | // Copyright (c) 2005 J. Craig Venter Institute |
| 3 | // Author: Brian Walenz |
| 4 | // |
| 5 | // This program is free software; you can redistribute it and/or modify |
| 6 | // it under the terms of the GNU General Public License as published by |
| 7 | // the Free Software Foundation; either version 2 of the License, or |
| 8 | // (at your option) any later version. |
| 9 | // |
| 10 | // This program is distributed in the hope that it will be useful, |
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | // GNU General Public License for more details. |
| 14 | // |
| 15 | // You should have received (LICENSE.txt) a copy of the GNU General Public |
| 16 | // License along with this program; if not, write to the Free Software |
| 17 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | |
| 19 | #ifndef ATAC_FEATURELIST_H |
| 20 | #define ATAC_FEATURELIST_Hcxx . . $ `atac-driver/libatac/atacFeatureList.H:20:9`! |
| 21 | |
| 22 | #include <string> |
| 23 | #include <map> |
| 24 | using namespace std; |
| 25 | |
| 26 | #include "bio++.H"cxx . . $ `<file>/libbio/bio++.H`/ |
| 27 | |
| 28 | |
| 29 | class atacFeatureListcxx . . $ atacFeatureList# { |
| 30 | public: |
| 31 | atacFeatureListcxx . . $ atacFeatureList#atacFeatureList(49f6e7a06ebc5aa8).(); |
| 32 | ~cxx . . $ atacFeatureList#`~atacFeatureList`(49f6e7a06ebc5aa8).atacFeatureListcxx . . $ atacFeatureList#(); |
| 33 | |
| 34 | uint32cxx . . $ uint32# numberOfFeaturescxx . . $ atacFeatureList#numberOfFeatures(db52760e79bf9054).(void) { return(_featuresLencxx . . $ atacFeatureList#_featuresLen.); }; |
| 35 | atacFeaturecxx . . $ atacFeature# *getFeaturecxx . . $ atacFeatureList#getFeature(635fde6fe8151c7a).(uint32cxx . . $ uint32# i) { return(_featurescxx . . $ atacFeatureList#_features. + i); }; |
| 36 | atacFeaturecxx . . $ atacFeature# *operatorcxx . . $ atacFeatureList#`operator[]`(635fde6fe8151c7a).[](uint32cxx . . $ uint32# i) { return(_featurescxx . . $ atacFeatureList#_features. + i); }; |
| 37 | |
| 38 | void addcxx . . $ atacFeatureList#add(1b9a787d410f56d0).(atacFeaturecxx . . $ atacFeature# &m); |
| 39 | //void delete(); |
| 40 | |
| 41 | // Sort by the A assembly or B assembly location |
| 42 | void sortcxx . . $ atacFeatureList#sort(b4d55b1286ff73e8).(uint32cxx . . $ uint32# first=0, uint32cxx . . $ uint32# len=0); |
| 43 | void sortFeatureUIDcxx . . $ atacFeatureList#sortFeatureUID(b4d55b1286ff73e8).(uint32cxx . . $ uint32# first=0, uint32cxx . . $ uint32# len=0); |
| 44 | void sortParentUIDcxx . . $ atacFeatureList#sortParentUID(b4d55b1286ff73e8).(uint32cxx . . $ uint32# first=0, uint32cxx . . $ uint32# len=0); |
| 45 | |
| 46 | private: |
| 47 | uint32cxx . . $ uint32# _featuresLencxx . . $ atacFeatureList#_featuresLen.; |
| 48 | uint32cxx . . $ uint32# _featuresMaxcxx . . $ atacFeatureList#_featuresMax.; |
| 49 | atacFeaturecxx . . $ atacFeature# *_featurescxx . . $ atacFeatureList#_features.; |
| 50 | }; |
| 51 | |
| 52 | #endif // ATAC_FEATURELIST_H |