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

Metadata Class Reference

#include <Metadata.h>

Inheritance diagram for Metadata:

Inheritance graph
[legend]
Collaboration diagram for Metadata:

Collaboration graph
[legend]
List of all members.

Public Methods

void setFeature (FeatureName f, FeatureValue v)
 Set a feature and its value. More...

bool existsFeature (FeatureName f)
 Test to see if feature exists. More...

void deleteFeature (FeatureName f)
 Delete a feature. More...

StringSet getFeatureNames ()
void setFeatures (Features f)
list<string> storeSQLs (AGSetId agSetid, AGId agId, Id id)
 Create list of SQLs used to save the metadata to the DB server. More...

string toString ()
 Dump the metadata in AIF format. More...


Detailed Description

Metadata is a set of feature value pairs.
Version:
1.4 September 21, 2001
Author(s):
Xiaoyi Ma


Member Function Documentation

void Metadata::deleteFeature ( FeatureName f )
 

Delete a feature.

bool Metadata::existsFeature ( FeatureName f )
 

Test to see if feature exists.

StringSet Metadata::getFeatureNames ( )
 

Get feature names

Returns:
string set which contains all the feature names

void Metadata::setFeature ( FeatureName f,
FeatureValue v )
 

Set a feature and its value.

void Metadata::setFeatures ( Features f )
 

Set multiple features in a single string. Set multiple 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.

list< string > Metadata::storeSQLs ( AGSetId agSetid,
AGId agId,
Id id )
 

Create list of SQLs used to save the metadata to the DB server.

string Metadata::toString ( )
 

Dump the metadata in AIF format.

Reimplemented from FeatureMap.


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