ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/gff.h
(Generate patch)
# Line 136 | Line 136
136        ftype=NULL;
137        fstart=0;
138        fend=0;
139 +      strand=0;phase=0;
140 +      llen=0;score=0;
141        info=NULL;
142        _parents=NULL;
143        _parents_len=0;
# Line 223 | Line 225
225     int idx;
226   public:
227     char* name;
228 <   GffNameInfo() { name=NULL; idx=-1; }
229 <   GffNameInfo(const char* n) {
228 <     name=Gstrdup(n);
228 >   GffNameInfo(const char* n=NULL):idx(-1),name(NULL) {
229 >     if (n) name=Gstrdup(n);
230       }
231  
232     ~GffNameInfo() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines