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

# gnFeature Class Reference

gnFeature stores sequence features in memory. More...

`#include <gnFeature.h>`

Inheritance diagram for gnFeature::

List of all members.

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

## 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 28 of file gnFeature.h.

## Constructor & Destructor Documentation

gnFeature::gnFeature ( | )

| Empty constructor. Definition at line 19 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.
Definition at line 26 of file gnFeature.cpp.

gnFeature::gnFeature ( | const gnFeature & s )

  | Copy constructor. Parameters:
  s | The gnFeature to copy.
Definition at line 30 of file gnFeature.cpp.

gnFeature::~gnFeature ( | )

| Destructor, frees memory. Definition at line 43 of file gnFeature.cpp.

## Member Function Documentation

gnFeature * gnFeature::Clone ( | ) const`[inline, virtual]`

| Reimplemented from gnBaseFeature. Definition at line 56 of file gnFeature.h. Referenced by gnFeature().

The documentation for this class was generated from the following files:

- gnFeature.h
- gnFeature.cpp