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

FeatureMap Class Reference

#include <FeatureMap.h>

Inheritance diagram for FeatureMap:

Inheritance graph
[legend]
Collaboration diagram for FeatureMap:

Collaboration graph
[legend]
List of all members.

Public Methods

FeatureValue getFeature (FeatureName name) const throw (AGException)
 Get the value of the feature. More...

FeatureValue getFeatures ()
void unsetFeatures ()
 Unset all the features. More...

string toString ()
 Dump the feature map in AIF format. More...


Detailed Description

A feature map is a set of name-value pairs, which is used in Metadata and Annotation features
Author(s):
Xiaoyi Ma


Member Function Documentation

FeatureValue FeatureMap::getFeature ( FeatureName name ) const throw (AGException)
 

Get the value of the feature.

FeatureValue FeatureMap::getFeatures ( )
 

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"

Note:
see http://dublincore.org/documents/2000/07/28/dcmi-dcsv/ for details about DCSV format.

string FeatureMap::toString ( )
 

Dump the feature map in AIF format.

Reimplemented in Metadata.

void FeatureMap::unsetFeatures ( )
 

Unset all the features.


The documentation for this class was generated from the following file:
Generated at Wed Jul 3 14:55:26 2002 for Annotation Graph API by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001