Main Page   Class Hierarchy   Compound List   Compound Members  

Signal Class Reference

List of all members.

Public Methods

 Signal (const Id id, string xlinkHref, MimeClass mimeClass, MimeType mimeType, Encoding encoding, Unit unit, Track track="")
 Create a signal.

const Id getId () const
 Get the id of the signal.

const MimeClass getMimeClass () const
 Get the mimeclass of the signal.

const MimeType getMimeType () const
 Get the mimetype of the signal.

const Encoding getEncoding () const
 Get the encoding of the signal.

const string getXlinkHref () const
 Get the xlink:href of the signal.

const string getXlinkType () const
 Get the xlink:type of the signal.

const Unit getUnit () const
 Get the unit of the signal.

const Track getTrack () const
 Get the track of the signal.

void setFeature (FeatureName featureName, FeatureValue featureValue)
 Set the value of a feature in the metadata.

bool existsFeature (FeatureName featureName)
 Test if a feature exists in the metadata.

void deleteFeature (FeatureName featureName)
 Delete the specified feature in the metadata.

string getFeature (FeatureName featureName)
 Get the value of the specified feature in the metadata.

set< string > getFeatureNames ()
void setFeatures (map< string, string > &features)
map< string, string > getFeatures ()
void unsetFeatures ()
list< string > storeSQLs (AGSetId agSetId, TimelineId timelineId)
 Create list of SQLs used to save the signal to the DB server.

string toString ()
 Dump the signal in AIF format.


Detailed Description

Signal is the thing to be annotated, it can be audio, video, or text.
Version:
1.3 September 21, 2001
Author:
Xiaoyi Ma


Member Function Documentation

set<string> Signal::getFeatureNames  
 

Get feature names in the metadata

Returns:
string set which contains all the feature names

map<string,string> Signal::getFeatures   [inline]
 

Get all the features in a hash table of feature-value pairs.

void Signal::setFeatures map< string, string > &    features [inline]
 

Set multiple features in a hash table of feature-value pairs.

void Signal::unsetFeatures  
 

Unset all features in the metadata Set all the features to empty string.