Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::Index Class Reference

#include <Index.h>

List of all members.

Public Member Functions

 Index (std::string indexName, std::vector< std::string > columnNames)
 Index (const Index &index)
Indexoperator= (const Index &index)
std::string getName ()
std::string getColumnName (int columnNumber)
std::vector< std::string > getColumnNames ()
int size ()


Detailed Description

An index on a table.


Constructor & Destructor Documentation

glite::rgma::Index::Index std::string  indexName,
std::vector< std::string >  columnNames
 

Creates a new Index object.


Member Function Documentation

std::string glite::rgma::Index::getColumnName int  columnNumber  ) 
 

Returns the name of the given column used by this index.

Parameters:
columnNumber Number of the column (0..numColumns-1)
Returns:
Name associated with the given column number.

std::vector< std::string > glite::rgma::Index::getColumnNames  ) 
 

Returns the List of column names used by this index.

Returns:
List of column names.

std::string glite::rgma::Index::getName  ) 
 

Returns the name.

Returns:
String

int glite::rgma::Index::size  ) 
 

Returns the number of columns in the index.

Returns:
number of columns.


The documentation for this class was generated from the following files:
Generated on Thu May 11 19:23:43 2006 for glite-rgma-api-cpp by doxygen 1.3.5