quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_math_scalar.a #include <Short.h> Short(Short arg = DEF_VALUE); Short(const Short& arg);
description:Short val0; val0 = 10; Short val1(5); Short val2; val2 = val0.exp10(2) + val1.factorial();
static const String CLASS_NAME = L"Short";
static const long ERR = 20700;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
setDebug is inherited from the MScalar template class
boolean debug(const unichar* message) const;
~Short();
Short(Short arg = DEF_VALUE);
Short(const Short& arg);
assign methods are inherited from the MScalar template class
Short& operator= (const Short& arg);
sofSize is inherited from the MScalar template class
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
readData and writeData methods are inherited from the MScalar template class
equality methods are inherited from the MScalar template 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 base class MScalar
Short& operator= (Short arg);
short acos(short);
short acosh(short);
short asin(short);
short asinh(short);
short atan(short);
short atanh(short);
short cos(short);
short cosh(short);
short sin(short);
short sinh(short);
short tan(short);
short tanh(short);
short ceil(short);
short rceil(short);
short rfloor(short);
short round(short);
short floor(short);
Short val0(5); 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();
Short value; Short value1; Short value2; Short coef1 = 7; Short coef2 = 3; Short min = 0; Short max = 255; value1 = 4; value2 = 5; value = value1.exp(2)*coef1 + value2.exp(3)*coef2; value.limit(min, max);