gnFeature Class Reference

gnFeature stores sequence features in memory. More...

#include <gnFeature.h>

Inheritance diagram for gnFeature:

Inheritance graph
[legend]
Collaboration diagram for gnFeature:

Collaboration graph
[legend]
List of all members.

Public Member Functions

gnFeatureClone () const
 gnFeature (const gnFeature &s)
 Copy constructor.
 gnFeature (string &name, uint32 id=0, gnLocation::gnLocationType lt=gnLocation::LT_Nothing, boolean broken=false)
 Creates a memory feature with the specified name.
 gnFeature ()
 Empty constructor.
 ~gnFeature ()
 Destructor, frees memory.

Detailed Description

gnFeature stores sequence features in memory.

It contains a list of locations and qualifiers which are used to describe this feature. It can be referred to by ID.

Definition at line 27 of file gnFeature.h.


Constructor & Destructor Documentation

gnFeature::gnFeature  ) 
 

Empty constructor.

Definition at line 18 of file gnFeature.cpp.

Referenced by Clone().

gnFeature::gnFeature string &  name,
uint32  id = 0,
gnLocation::gnLocationType  lt = gnLocation::LT_Nothing,
boolean  broken = false
 

Creates a memory feature with the specified name.

Parameters:
name The name of the feature.
id The id number of the feature
lt The type of sequence location covered by this feature
broken True if the feature was broken by some sequence manipulation, false otherwise.
Definition at line 25 of file gnFeature.cpp.

References uint32.

gnFeature::gnFeature const gnFeature s  ) 
 

Copy constructor.

Parameters:
s The gnFeature to copy.
Definition at line 29 of file gnFeature.cpp.

References gnBaseFeature::m_broken, gnBaseFeature::m_id, gnBaseFeature::m_locationList, gnBaseFeature::m_locationType, gnBaseFeature::m_name, gnBaseFeature::m_qualifierList, gnBaseFeature::m_spec, and uint32.

gnFeature::~gnFeature  ) 
 

Destructor, frees memory.

Definition at line 42 of file gnFeature.cpp.


Member Function Documentation

gnFeature * gnFeature::Clone  )  const [inline, virtual]
 

Implements gnBaseFeature.

Definition at line 58 of file gnFeature.h.

References gnFeature().


The documentation for this class was generated from the following files:
Generated on Mon Feb 14 19:29:50 2005 for libGenome by doxygen 1.3.8