ERAV: Entity Relation Attribute Value:
Classes | Namespaces | Defines | Functions | Variables
ERAV.h File Reference
#include <map>
#include <list>
#include <string>
#include <cctype>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Classes

class  ERAV::tuple
struct  ERAV::tuple::_rel_
struct  ERAV::tuple::_val_
class  ERAV::WORD_tuple
class  ERAV::WORD
 map<> ( WORD && STRING ). More...
struct  ERAV::attrib
struct  ERAV::tag
class  ERAV::token
class  ERAV::context
class  ERAV::parser
class  ERAV::exception

Namespaces

namespace  ERAV
 

[E]ntity [R]elation [A]ttribute [V]alue


Defines

#define ERAV_h
#define NOT_const
#define USE_isLess
#define ID_val   const std::string & lexeme

Functions

void erav2xml_enclose (std::string &XML)
void erav2xml (NOT_const std::list< ERAV::tuple > &L, std::string &XML)
void erav2xml (const std::list< ERAV::WORD_tuple > &L, std::string &XML)
void erav2xml (const std::list< ERAV::WORD_tuple > &L, ERAV::WORD &W)
void erav2xml (const ERAV::WORD &W, std::string &XML, bool isWORD=true)
void erav2xml (const ERAV::WORD &S, std::string &XML, const std::string &)
void xml2erav (const std::string &XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S)
void erav2xml (std::list< ERAV::tuple > &L, const ERAV::WORD &W, const ERAV::WORD &S, std::string &XML)
void erav_clear (std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S)
 { L.clear(), W.clear(), S.clear(); }
void ERAV::merge_into (std::list< ERAV::tuple > &L, std::list< ERAV::tuple > &FROM)
int ERAV::tplcmp (const ERAV::tuple &l, const ERAV::tuple &r)
 (l<r)==>(-1) (l==r)==>((0)) (l>r)==>(+1).
bool ERAV::isLess (const ERAV::tuple &l, const ERAV::tuple &r)
 (l<r) ???.
bool ERAV::operator< (const ERAV::tuple &l, const ERAV::tuple &r)
 (l<r) ???.
bool ERAV::operator== (const ERAV::tuple &l, const ERAV::tuple &r)
 (l==r) ???.
int ERAV::yylex (char const **cursor, char const **yytext, int *yyleng, int *yyline)
bool operator== (const ERAV::token &l, int r)
 (l == r) ???

Variables

const int ERAV::LANG_LEN = 2

Define Documentation

#define ERAV_h

Definition at line 4 of file ERAV.h.

#define NOT_const

Definition at line 25 of file ERAV.h.

#define USE_isLess

Definition at line 101 of file ERAV.h.

#define ID_val   const std::string & lexeme

Definition at line 239 of file ERAV.h.


Function Documentation

void erav2xml_enclose ( std::string &  XML)
void erav2xml ( NOT_const std::list< ERAV::tuple > &  L,
std::string &  XML 
)
void erav2xml ( const std::list< ERAV::WORD_tuple > &  L,
std::string &  XML 
)
void erav2xml ( const std::list< ERAV::WORD_tuple > &  L,
ERAV::WORD W 
)
void erav2xml ( const ERAV::WORD W,
std::string &  XML,
bool  isWORD = true 
)
void erav2xml ( const ERAV::WORD S,
std::string &  XML,
const std::string &   
) [inline]

Definition at line 342 of file ERAV.h.

void xml2erav ( const std::string &  XML,
std::list< ERAV::tuple > &  L,
ERAV::WORD W,
ERAV::WORD S 
) [inline]

Definition at line 322 of file ERAV.h.

void erav2xml ( std::list< ERAV::tuple > &  L,
const ERAV::WORD W,
const ERAV::WORD S,
std::string &  XML 
) [inline]

Definition at line 50 of file ERAV.h.

void erav_clear ( std::list< ERAV::tuple > &  L,
ERAV::WORD W,
ERAV::WORD S 
) [inline]

{ L.clear(), W.clear(), S.clear(); }

Definition at line 313 of file ERAV.h.

bool operator== ( const ERAV::token l,
int  r 
) [inline]

(l == r) ???

Definition at line 301 of file ERAV.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines