00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013
00014 #include "gn/gnLocation.h"
00015 #include "gn/gnStringQualifier.h"
00016 #include "gn/gnDebug.h"
00017 #include <list>
00018
00019 gnFeature::gnFeature()
00020 {
00021
00022
00023
00024
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 }