ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/LayoutParser.h
(Generate patch)
# Line 96 | Line 96
96     public:
97      char* name; //contig name, as stored in file
98      unsigned int len; //contig length (lsequence, from ACE file)
99 <    int lpos, rpos;
99 >    int lpos;
100 >    int rpos;
101      int numseqs;
102      int offs; //some other type of user data that might be of use
103      off_t fpos; //position in file for this contig's entry
104      GList<LytSeqInfo> seqs;
105 <    LytCtgData(off_t pos=0):seqs(false,false,false) {
106 <      name=NULL;
107 <      offs=0;
107 <      len=0;
108 <      numseqs=0;
109 <      fpos=pos;
110 <      }
105 >    LytCtgData(off_t pos=0):seqs(false,false,false), name(NULL), len(0),
106 >      lpos(0), rpos(0), numseqs(0), offs(0), fpos(pos) {
107 >    }
108      ~LytCtgData() {
109        GFREE(name);
110        seqs.Clear();
111 <      }
111 >    }
112  
113     char* readName(char* s, GHash<int>& names);
114  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines