#include "OW_String.hpp"
#include "OW_Array.hpp"
#include "OW_StringStream.hpp"
#include "OW_UTF8Utils.hpp"
#include <fstream>
#include <cctype>
#include <algorithm>
#include <vector>
#include <iostream>
#include <cassert>
#include <map>
#include <set>
Include dependency graph for OW_GenCaseFoldingCompare.cpp:
Go to the source code of this file.
Classes | |
class | StateMachine |
struct | StateMachine::transition_t |
struct | StateMachine::state_t |
struct | processLine |
struct | isForInput |
Defines | |
#define | DEBUG(x) cout << x |
Typedefs | |
typedef std::multimap< String, String > | mmap_t |
typedef mmap_t::const_iterator | ci_t |
Functions | |
int | followOrAddTransition (int curTransition, UInt8 input, int aux) |
void | printStrings (const String &str1, const String &str2) |
void | buildTransitions (const String &str1, const String &str2) |
void | outputHeader () |
void | outputTransitions (const StateMachine::state_t &state, int inputSelection, bool outputDefault) |
void | outputFirstState (const StateMachine::state_t &state) |
void | outputSwitch (const StateMachine::state_t &state, int inputSelection, bool outputDefault) |
void | outputCode () |
bool | findDuplicateStates (int &state1, int &state2) |
void | minimizeStateMachine () |
void | getEntriesFor (const String &key, set< String > &rval) |
bool | haveEntry (const String &key, const String &val) |
void | calculateTransitiveClosure () |
void | buildStateMachine () |
int | main (int argc, char **argv) |
Variables | |
StateMachine | stateMachine |
std::multimap< String, String > | caseFoldingEntries |
|
Definition at line 54 of file OW_GenCaseFoldingCompare.cpp. Referenced by calculateTransitiveClosure(), StateMachine::debug(), findDuplicateStates(), followOrAddTransition(), minimizeStateMachine(), processLine::operator()(), and printStrings(). |
|
Definition at line 173 of file OW_GenCaseFoldingCompare.cpp. |
|
Definition at line 172 of file OW_GenCaseFoldingCompare.cpp. |
|
Definition at line 507 of file OW_GenCaseFoldingCompare.cpp. References buildTransitions(), and caseFoldingEntries. |
|
Definition at line 219 of file OW_GenCaseFoldingCompare.cpp. References followOrAddTransition(), printStrings(), and StateMachine::start. Referenced by buildStateMachine(). |
|
Definition at line 481 of file OW_GenCaseFoldingCompare.cpp. References caseFoldingEntries, DEBUG, getEntriesFor(), and haveEntry(). |
|
Definition at line 424 of file OW_GenCaseFoldingCompare.cpp. References DEBUG, i, StateMachine::m_states, and stateMachine. Referenced by minimizeStateMachine(). |
|
Definition at line 176 of file OW_GenCaseFoldingCompare.cpp. References StateMachine::addState(), StateMachine::addTransition(), DEBUG, StateMachine::getStateStr(), StateMachine::getTransition(), StateMachine::invalid, and stateMachine. Referenced by buildTransitions(). |
|
Definition at line 455 of file OW_GenCaseFoldingCompare.cpp. References caseFoldingEntries. Referenced by calculateTransitiveClosure(). |
|
Definition at line 469 of file OW_GenCaseFoldingCompare.cpp. References caseFoldingEntries. Referenced by calculateTransitiveClosure(). |
|
Definition at line 517 of file OW_GenCaseFoldingCompare.cpp. References caseFoldingEntries, i, and s. |
|
Definition at line 442 of file OW_GenCaseFoldingCompare.cpp. References DEBUG, findDuplicateStates(), StateMachine::invalid, StateMachine::removeDuplicateState(), and stateMachine. |
|
Definition at line 345 of file OW_GenCaseFoldingCompare.cpp. References i, StateMachine::m_states, outputFirstState(), outputHeader(), outputSwitch(), and stateMachine. |
|
Definition at line 331 of file OW_GenCaseFoldingCompare.cpp. References outputTransitions(), and state. Referenced by outputCode(). |
|
Definition at line 280 of file OW_GenCaseFoldingCompare.cpp. Referenced by outputCode(). |
|
Definition at line 339 of file OW_GenCaseFoldingCompare.cpp. References outputTransitions(), and state. Referenced by outputCode(). |
|
Definition at line 315 of file OW_GenCaseFoldingCompare.cpp. References state. Referenced by outputFirstState(), and outputSwitch(). |
|
Definition at line 203 of file OW_GenCaseFoldingCompare.cpp. Referenced by buildTransitions(). |
|
Definition at line 174 of file OW_GenCaseFoldingCompare.cpp. Referenced by buildStateMachine(), calculateTransitiveClosure(), getEntriesFor(), haveEntry(), and main(). |
|
Definition at line 171 of file OW_GenCaseFoldingCompare.cpp. Referenced by findDuplicateStates(), followOrAddTransition(), minimizeStateMachine(), and outputCode(). |