quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_algo.a #include <CoefficientLabel.h> CoefficientLabel(); CoefficientLabel(const CoefficientLabel& arg); boolean eq(const CoefficientLabel& arg); boolean setAlgorithm(ALGORITHM algorithm);
description:CoefficientLabel lab; String vname(L"MY_DATA"); lab.setVariable(vname);
static const String CLASS_NAME = L"CoefficientLabel";
enum ALGORITHM { DATA = 0, DEF_ALGORITHM = DATA };
enum IMPLEMENTATION { COPY = 0, DEF_IMPLEMENTATION = COPY };
enum TYPE { INPUT = 0, OUTPUT, INTERNAL, DEF_TYPE = INTERNAL };
static const NameMap ALGO_MAP(L"DATA");
static const NameMap IMPL_MAP(L"COPY");
static const NameMap TYPE_MAP(L"INPUT,OUTPUT,INTERNAL");
static const String DEF_PARAM = L"";
static const String PARAM_ALGORITHM = L"algorithm";
static const String PARAM_IMPLEMENTATION = L"implementation";
static const String PARAM_TYPE = L"type";
static const String PARAM_VARIABLE = L"variable";
static const String PARAM_COEF_TYPE = L"coef_type";
static const AlgorithmData::COEF_TYPE DEF_COEF_TYPE = AlgorithmData::PROPAGATE;
static const long ERR = 71500;
ALGORITHM algorithm_d;
IMPLEMENTATION implementation_d;
String variable_d;
TYPE type_d;
AlgorithmData::COEF_TYPE coef_type_d;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* message) const;
~CoefficientLabel();
CoefficientLabel(ALGORITHM algorithm = DEF_ALGORITHM, IMPLEMENTATION implementation = DEF_IMPLEMENTATION, AlgorithmData::COEF_TYPE coef_type = DEF_COEF_TYPE, TYPE type = DEF_TYPE);
CoefficientLabel(const CoefficientLabel& arg);
boolean assign(const CoefficientLabel& arg);
CoefficientLabel& operator= (const CoefficientLabel& 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 CoefficientLabel& 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& variable);
boolean setType(TYPE type);
boolean setCoefType(AlgorithmData::COEF_TYPE ctype);
boolean set(ALGORITHM algorithm = DEF_ALGORITHM, IMPLEMENTATION implementation = DEF_IMPLEMENTATION, AlgorithmData::COEF_TYPE coef_type = DEF_COEF_TYPE, TYPE type = DEF_TYPE);
ALGORITHM getAlgorithm() const;
IMPLEMENTATION getImplementation() const;
const String& getVariable() const;
TYPE getType() const;
AlgorithmData::COEF_TYPE getCoefType() const;
boolean get(ALGORITHM& algorithm, IMPLEMENTATION& implementation, AlgorithmData::COEF_TYPE& coef_type, TYPE& type) 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);