Team-Fly
Previous Section Next Section

Appendix B: Directory of C++ Functions

B.1 Input/Output, Conversion, Comparison: Member Functions

LINT (void);

Constructor 1:

an uninitialized LINT object is generated

LINT (const char* const str,
    const int base);

Constructor 2:

LINT is constructed from a string of digits to base base

LINT (const UCHAR* const byte,
    const int len);

Constructor 3:

LINT is constructed from a byte vector with digits to base 28 according to IEEE P1363, significance of bits grows from left to right

LINT (const char* const str);

Constructor 4:

LINT is constructed from an ASCII string with C-Syntax

LINT (const LINT&);

Constructor 5:

LINT is constructed from LINT (copy constructor)

LINT (const signed int);

Constructor 6:

LINT is constructed from an integer of type int

LINT (const signed long);

Constructor 7:

LINT is constructed from an integer of type long

LINT (const unsigned char);

Constructor 8:

LINT is constructed from an integer of type unsigned char

LINT (const USHORT);

Constructor 9:

LINT is constructed from an integer of type unsigned short

LINT (const unsigned int);

Constructor 10:

LINT is constructed from an integer of type unsigned int

LINT (const unsigned long);

Constructor 11:

LINT is constructed from an integer of type unsigned long

LINT (const CLINT);

Constructor 12:

LINT is constructed from an integer of type CLINT

const LINT&
operator = (const LINT& b);

assignment a b

inline void
disp (char* str);

display of a LINT integer, with previous output of str

inline char*
hexstr (void) const;

representation of a LINT integer as hexadecimal number

inline char*
decstr (void) const;

representation of a LINT integer as decimal number

inline char*
octstr (void) const;

representation of a LINT integer as octal number

inline char*
binstr (void) const;

representation of a LINT integer as binary number

char*
lint2str (const USHORT base,
    const int showbase = 0) const;

representation of a LINT integer as character string to base base, with prefix 0x, or 0b if showbase > 0

UCHAR*
lint2byte (int* len) const;

transformation of a LINT integer into a byte vector, output of length in len, according to IEEE P1363, significance of bytes increasing from left to right

LINT&
fswap (LINT& b);

exchange of implicit argument a with argument b

void
purge (void);

clear implicit argument a by overwriting

Static long
flags (ostream& s);

read static LINT status variable to ostream s

static long
flags (void);

read static LINT status variable to ostream cout

static long
setf (ostream& s,
    long intflags);

set status bits of value flags in LINT status variable referring to ostream s

static long
setf (long int flags);

set status bits in flags in LINT status variable referring to ostream cout

static long
unsetf (ostream& s,
     long int flags);

unset status bits in flags in LINT status variable referring to ostream s

static long
unsetf (long int flags);

unset status bits of flags in LINT status variable referring to ostream cout

static long
restoref (ostream& s,
     long int flags);

reset the LINT status variable referring to ostream s to the value in flags

static long
restoref (long int flags);

reset LINT status variable referring to ostream cout to the value in flags


Team-Fly Previous Section Next Section