SqlParser.h File Reference

Utility functions for extracting information from SQL schema files. More...

#include <string>
#include "DataTypes.h"
#include "TableInfo.h"
Include dependency graph for SqlParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SqlParser
 

Utility functions for extracting information from SQL schema files.


Functions

void SqlParser::extractTable (const std::string &filename, const std::string &tablename, TableInfo &att)
 Extract all info for the named table in the named schema file.
void SqlParser::string2words (const std::string &str, StringMap &words)
bool SqlParser::isAttrEntry (const std::string &word)
 Does the word correspond to the name of an attribute?
bool SqlParser::isCreateTable (const std::string &w1, const std::string &w2, const std::string &w3, const std::string &tablename)
bool SqlParser::isEndOfTable (const std::string &word)
 Does the word correspond to the end of the text describing a table?
bool SqlParser::isTag (const std::string &word)
 Does the word correspond to one of our in house --/X tags?

Variables

const std::string SqlParser::TAGHEAD = "--/"

Detailed Description

Utility functions for extracting information from SQL schema files.

Author:
Ian Bond WFAU, IfA, University of Edinburgh
Generated on Mon Oct 4 10:39:12 2010 for WfcamSrc by  doxygen 1.6.3