quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_algo.a #include <AlgorithmContainer.h> AlgorithmContainer(); AlgorithmContainer(const AlgorithmContainer& arg); boolean eq(const AlgorithmContainer& arg); boolean setAlgorithm(ALGORITHM algorithm);
description:AlgorithmContainer lab; lab.setGraphTag(14);
static const String CLASS_NAME = L"AlgorithmContainer";
enum ALGORITHM { SUB_GRAPH = 0, DEF_ALGORITHM = SUB_GRAPH };
enum IMPLEMENTATION { EXPAND = 0, DEF_IMPLEMENTATION = EXPAND };
static const NameMap ALGO_MAP(L"SUB_GRAPH");
static const NameMap IMPL_MAP(L"EXPAND");
static const String DEF_PARAM = L"";
static const String PARAM_ALGORITHM = L"algorithm";
static const String PARAM_IMPLEMENTATION = L"implementation";
static const String PARAM_GRAPH_TAG = L"graph_tag";
static const String PARAM_VARIABLE = L"variable";
static const long DEF_GRAPH_TAG = -1;
none.
static const long ERR = 73200;
ALGORITHM algorithm_d;
IMPLEMENTATION implementation_d;
Long graph_tag_d;
String varname_d;
static MemoryManager mgr_d;
none.
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* message) const;
~AlgorithmContainer();
AlgorithmContainer(ALGORITHM algorithm = DEF_ALGORITHM, IMPLEMENTATION implementation = DEF_IMPLEMENTATION, long graph_tag = DEF_GRAPH_TAG);
AlgorithmContainer(const AlgorithmContainer& arg);
boolean assign(const AlgorithmContainer& arg);
AlgorithmContainer& operator= (const AlgorithmContainer& arg);
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;
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 AlgorithmContainer& 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);
boolean setAlgorithm(ALGORITHM algorithm);
boolean setImplementation(IMPLEMENTATION implementation);
boolean setVariable(const String& name);
boolean setGraphTag(long arg);
boolean set(ALGORITHM algorithm = DEF_ALGORITHM, IMPLEMENTATION implementation = DEF_IMPLEMENTATION,long graph_tag = DEF_GRAPH_TAG);
ALGORITHM getAlgorithm() const;
IMPLEMENTATION getImplementation() const;
const String& getVariable() const;
long getGraphTag() const;
boolean get(ALGORITHM& algorithm, IMPLEMENTATION& implementation, long& graph_tag) const;
boolean assign(const AlgorithmBase& arg);
boolean eq(const AlgorithmBase& arg) const;
const String& className() const;
boolean apply(Vector<AlgorithmData>& output, const Vector<AlgorithmData>& input);
boolean setParser(SofParser* parser);