quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_math_scalar.a #include <Char.h> Char(char arg = DEF_VALUE); Char(const Char& arg);
description:Char* ptr; ptr = new Char(); ptr->assign(L'5'); delete ptr; Char val0; val0.assign((unichar)'w'); Char val1(val0);
static const String CLASS_NAME = L"Char";
static const String DEF_PARAM = L"value";
static const long ERR = 20300;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
setDebug is inherited from the SysChar class
boolean debug(const unichar* message) const;
~Char();
Char(unichar arg = DEF_VALUE);
Char(const Char& arg);
assign methods are inherited from the SysChar class
Char& operator= (const Char& 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& name= DEF_PARAM) const;
equality methods are inherited from the SysChar class
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);
clear is inherited from the SysChar class
Char(const byte* data, ENCODE encoding = DEF_ENCODE);
Char val0; val0.assign((unichar)'h'); String tmp_filename(L"foo"); Sof tmp_file; tmp_file.open(tmp_filename, File::WRITE_ONLY, File::TEXT); val0.write(tmp_file, (long)0); tmp_file.close();