Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ttypes.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned short ushort
typedef unsigned char uchar
typedef unsigned int uint
typedef unsigned long ulong
typedef int ccIndex
typedef Boolean (* ccTestFunc )(void *item, void *arg)
typedef void (* ccAppFunc )(void *item, void *arg)

Enumerations

enum  Boolean { False, True }
enum  StreamableInit { streamableInit }

Variables

const char EOS =
const int ccNotFound = -1
const uchar specialChars []


Detailed Description

ttypes.h

Definition in file ttypes.h.


Typedef Documentation

typedef void(* ccAppFunc)(void *item, void *arg)
 

Used in iterator functions to provide an action function and argument list to be applied to a range of items in a collection.

Definition at line 84 of file ttypes.h.

typedef int ccIndex
 

Used to index and count the items in a collection.

Definition at line 72 of file ttypes.h.

typedef Boolean(* ccTestFunc)(void *item, void *arg)
 

Used in iterator functions to provide a test function and argument list to be applied to a range of items in a collection.

Definition at line 78 of file ttypes.h.

Referenced by TDirCollection::firstThat(), TFileCollection::firstThat(), TDirCollection::lastThat(), and TFileCollection::lastThat().

typedef unsigned char uchar
 

Provides a synonym for unsigned char.

Definition at line 40 of file ttypes.h.

Referenced by TDrawBuffer::putAttribute(), and TDrawBuffer::putChar().

typedef unsigned int uint
 

Provides a synonym for unsigned int.

Definition at line 45 of file ttypes.h.

typedef unsigned long ulong
 

Provides a synonym for unsigned long.

Definition at line 50 of file ttypes.h.

typedef unsigned short ushort
 

Provides a synonym for unsigned short.

Definition at line 35 of file ttypes.h.


Enumeration Type Documentation

enum Boolean
 

Assigns the integer values 0 to False and 1 to True. Note that the tests

if (tesfunc()) {...}

and

if (testfunc() == True) {...}

may not be equivalent.

Definition at line 30 of file ttypes.h.

Referenced by TRect::contains(), TRect::isEmpty(), TRect::operator!=(), and TRect::operator==().

enum StreamableInit
 

Each streamable class has a special "builder" constructor that takes argument streamableInit. This is defined in this enumeration to provide a unique data type for the constructor argument.

Definition at line 62 of file ttypes.h.


Variable Documentation

const char EOS =
 

A synonym for the end-of-string null character.

Definition at line 55 of file ttypes.h.

const int ccNotFound = -1
 

The ccIndex value returned by various collection-search functions if the search fails.

Definition at line 90 of file ttypes.h.

const uchar specialChars
 

Defines the indicator characters used to highlight the focused view in monochrome video mode. These characters are displayed if the showMarkers variable is True.

See also:
TView::showMarkers

Definition at line 98 of file ttypes.h.


Generated at Sat Sep 22 20:19:17 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001