DeSR Dependency Parser

Tanl::AttributeIndex Struct Reference

Associates to an attribute name the index of its value in a attribute vector. More...

#include <Token.h>

Inheritance diagram for Tanl::AttributeIndex:

Inheritance graph
Collaboration diagram for Tanl::AttributeIndex:

Collaboration graph

List of all members.

Public Member Functions

AttributeId insert (const char *name)
 Inserts a key in the index.
AttributeIndexoperator= (AttributeIndex const &ai)

Public Attributes

std::vector< char const * > names


Detailed Description

Associates to an attribute name the index of its value in a attribute vector.

Definition at line 49 of file Token.h.


Member Function Documentation

AttributeId Tanl::AttributeIndex::insert ( const char *  name  )  [inline]

Inserts a key in the index.

Returns:
the AttributeId for the key.

Definition at line 57 of file Token.h.

Referenced by Tanl::Attributes::insert().


The documentation for this struct was generated from the following file:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.