quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a #include <SearchSymbol.h> ~SearchSymbol(); SearchSymbol(); SearchSymbol(const SearchSymbol& copy_sym); SearchSymbol(const String& symbol);
description:#include <SearchSymbol.h> #include <Vector.h> SearchSymbol start_sym; start_sym.assign(L"_START_"); SearchSymbol end_sym; start_sym.assign(L"_END_"); Vectorword_syms(3); word_syms(0).assign(L"one"); word_syms(1).assign(L"two"); word_syms(2).assign(L"oh"); Vector phone_syms(6); phone_syms(0).assign(L"w"); phone_syms(1).assign(L"ae"); phone_syms(2).assign(L"n"); phone_syms(3).assign(L"t"); phone_syms(4).assign(L"uw"); phone_syms(5).assign(L"ow"); Vector state_syms(6); state_syms(0).assign(L"w_1"); state_syms(1).assign(L"ae_1"); state_syms(2).assign(L"n_1"); state_syms(3).assign(L"t_1"); state_syms(4).assign(L"uw_1"); state_syms(5).assign(L"ow_1");
static const String CLASS_NAME = L"SearchSymbol";
static const String SearchSymbol::DEF_PARAM = L"search";
static const SearchSymbol SearchSymbol::NO_LEFT_CONTEXT = L"!NO_LEFT_CONTEXT";
static const SearchSymbol SearchSymbol::NO_RIGHT_CONTEXT = L"!NO_RIGHT_CONTEXT";
static const long ERR = 90400;
static MemoryManager mgr_d;
static Integral::DEBUG debug_level_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
debug methods: setDebug method is inherited from the String class
static boolean setDebug(Integral::DEBUG debug_level);
~SearchSymbol();
SearchSymbol();
SearchSymbol(const SearchSymbol& arg);
assign methods: assign method is inherited from the String class
SearchSymbol& operator=(const SearchSymbol& arg)
i/o methods: readData and writeData methods are inherited from the String class
long sofSize() const;
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
SearchSymbol(const String& symbol);