Google

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

gnFeature.cpp

Go to the documentation of this file.
00001 
00002 // File:            gnFeature.cpp
00003 // Purpose:         implements the gnBaseFeature for generic features
00004 // Description:     
00005 // Changes:        
00006 // Version:         libGenome 0.1.0 
00007 // Author:          Aaron Darling 
00008 // Last Edited:     April 15, 2001, 11:13:00pm 
00009 // Modified by:     
00010 // Copyright:       (c) Aaron Darling 
00011 // Licenses:        Proprietary 
00013 #include "gn/gnFeature.h"
00014 #include "gn/gnLocation.h"
00015 #include "gn/gnStringQualifier.h"
00016 #include "gn/gnDebug.h"
00017 #include <list>
00018 
00019 gnFeature::gnFeature()
00020 {
00021 /*      m_id = 0;
00022         m_name = "";
00023         m_locationType = gnLocation::LT_Nothing;
00024         m_broken = false;
00025 */}
00026 gnFeature::gnFeature( string& name, uint32 id, gnLocation::gnLocationType lt, boolean broken )
00027  : gnBaseFeature(name, id, NULL, lt, broken)
00028 {
00029 }
00030 gnFeature::gnFeature( const gnFeature& s )
00031 {
00032         uint32 i;
00033         m_id = s.m_id;
00034         m_name = s.m_name;
00035         m_locationType = s.m_locationType;
00036         m_broken = s.m_broken;
00037         m_spec = s.m_spec;
00038         for( i=0; i < s.m_locationList.size(); i++)
00039                 m_locationList.push_back(s.m_locationList[i]);
00040         for( i=0; i < s.m_qualifierList.size(); i++)
00041                 m_qualifierList.push_back(s.m_qualifierList[i]->Clone());
00042 }
00043 gnFeature::~gnFeature()
00044 {
00045 }

Generated at Fri Nov 30 15:36:51 2001 for libGenome by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001