TagInfo Struct Reference

Represents a (Tag,ID)-pair. More...

#include <stringhash.h>

List of all members.

Public Member Functions

 TagInfo (const char *_tag, unsigned _index)
 Constructor.
 ~TagInfo ()

Public Attributes

const char * tag
 Stores the tag component of the tuple.
unsigned index
 The ID component of the tuple.


Detailed Description

Represents a (Tag,ID)-pair.

Stores, for a fixed tag name (as string) its associated id.

Author:
Michael Schmidt

Gunnar Jehl

Version:
2.1
License:
Software License Agreement (BSD License)

Definition at line 57 of file stringhash.h.


Constructor & Destructor Documentation

TagInfo::TagInfo ( const char *  _tag,
unsigned  _index 
) [inline]

Constructor.

Constructor - creating object.

Parameters:
[in] _tag The tag component of the tuple.
[in] _index The ID component of the tuple.

Definition at line 63 of file stringhash.h.

TagInfo::~TagInfo (  )  [inline]

Destructor.

Definition at line 68 of file stringhash.h.


Member Data Documentation

unsigned TagInfo::index

The ID component of the tuple.

The ID component of the tuple, i.e. the integer ID of the associated tag.

Definition at line 83 of file stringhash.h.

const char * TagInfo::tag

Stores the tag component of the tuple.

Pointer to the text representation of the tag.

Definition at line 76 of file stringhash.h.


Generated on Sun May 24 20:20:30 2009 for G(arbage) C(ollected) X(Query) Engine by  doxygen 1.5.9