quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search_a #include <ContextMap.h> Vector<SearchSymbol>& getContext(); boolean setContext(Vector<SearchSymbol>& arg); Ulong getContextIndex(); boolean setContextIndex(ulong arg);
description:Vector<SearchSymbol> symbols; ContextMap cmap; cmap.setContext(symbols); cmap.setContextIndex(0);
static const String CLASS_NAME;
static const String DEF_PARAM;
static const String PARAM_CONTEXT;
static const String PARAM_CONTEXT_INDEX;
Vector<SearchSymbol> context_d;
Ulong index_d;
static Integral::DEBUG debug_level_d;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* message) const;
~ContextMap();
ContextMap();
ContextMap(const ContextMap& arg);
boolean assign(const ContextMap& arg);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag, const String& cname = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& cname = CLASS_NAME) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const ContextMap& arg) 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);
boolean clear(Integral::CMODE ctype = Integral::DEF_CMODE);
Vector<SearchSymbol>& getContext();
boolean setContext(Vector<SearchSymbol>& arg);
Ulong getContextIndex();
boolean setContextIndex(ulong arg);