#include <Annotation.h>
Collaboration diagram for Annotation:

Public Methods | |
| Annotation (Id id, const Annotation *) | |
| Copy an annotation, using the given identifier. More... | |
| Annotation (Id id, Anchor *start, Anchor *end, String type) | |
| Id | getId () const | 
| Get the id of the annotation. More... | |
| Anchor* | getStartAnchor () const | 
| Get the start anchor of the annotation. More... | |
| Anchor* | getEndAnchor () const | 
| Get the end anchor of the annotation. More... | |
| String | getAnnotationInfo () | 
| String | getType () const | 
| Get the type of the annotation. More... | |
| const FeatureMap | getFeatureMap () const | 
| Get the featuremap of the annotation. More... | |
| FeatureValue | getFeature (const FeatureName &) | 
| Get the specified feature of the annotation. More... | |
| const char* | getFeatureC (const FeatureName &) | 
| Get the value of specified feature. More... | |
| bool | existsFeature (FeatureName featureName) | 
| Test if the specified feature exists. More... | |
| void | deleteFeature (FeatureName featureName) | 
| Delete the specified feature. More... | |
| StringSet | getFeatureNames () | 
| Features | getFeatures () | 
| void | unsetFeatures () | 
| string | toString () | 
| Dump the annotation in AIF format. More... | |
| Annotation | operator= (const Annotation &) | 
Protected Methods | |
| void | setStartAnchor (Anchor *a) | 
| set the start anchor of the annotation. More... | |
| void | setEndAnchor (Anchor *a) | 
| set the end anchor of the annotation. More... | |
| void | setFeature (const FeatureName &feature, const FeatureValue &value) | 
| Set a feature and its value. More... | |
Friends | |
| class | AG | 
| class | AnnotationIndex | 
| bool | operator< (const Annotation &, const Annotation &) | 
| bool | operator== (const Annotation &, const Annotation &) | 
      
  | 
  
| 
 Copy an annotation, using the given identifier. 
  | 
  
      
  | 
  
| 
 A constructor. Create an annotation with given identifier, for the specified region and type. 
  | 
  
      
  | 
  
| 
 Delete the specified feature. 
  | 
  
      
  | 
  
| 
 Test if the specified feature exists. 
  | 
  
      
  | 
  
| 
 Get all the information of the annotation Get all the information of the specified annotation 
 
  | 
  
      
  | 
  
| 
 Get the end anchor of the annotation. 
  | 
  
      
  | 
  
| 
 Get the specified feature of the annotation. 
  | 
  
      
  | 
  
| 
 Get the value of specified feature. 
  | 
  
      
  | 
  
| 
 Get the featuremap of the annotation. 
  | 
  
      
  | 
  
| 
 Get feature names 
  | 
  
      
  | 
  
| 
 Get all the features in a single string. returns all features in a single string in Dublin Core Structured Values DCSV (Cox & Iannella) format. For example, "name=Stone Philips; phone=(215)555-8888; age=40" 
  | 
  
      
  | 
  
| 
 Get the id of the annotation. 
  | 
  
      
  | 
  
| 
 Get the start anchor of the annotation. 
  | 
  
      
  | 
  
| 
 Get the type of the annotation. 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 set the end anchor of the annotation. 
  | 
  
      
  | 
  
| 
 Set a feature and its value. 
  | 
  
      
  | 
  
| 
 set the start anchor of the annotation. 
  | 
  
      
  | 
  
| 
 Dump the annotation in AIF format. 
  | 
  
      
  | 
  
| 
 Unset all the features. Set all the features to empty string.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
1.2.7 written by Dimitri van Heesch,
 © 1997-2001