| Classes |
| ErrorException |
This exception is thrown by calls to
the error function, which makes it possible for clients to
respond to error conditions. |
| GActionEvent |
This event subclass represents an
action event. |
| GEvent |
This class is the root of the
hierarchy for all events. |
| GKeyEvent |
This event subclass represents a key
event. |
| GMouseEvent |
This event subclass represents a
mouse event. |
| GPoint |
This class represents a point on the
real-valued graphics plane. |
| GPolygon |
This class represents a polygon and
consists of a vector of the vertices. |
| GRectangle |
This class represents a rectangle on
the graphics plane and is conventionally used to denote the bounding box
for an object. |
| GTimerEvent |
This event subclass represents a
timer event. |
| GWindow |
This class represents a graphics
window that can be displayed on the screen. |
| GWindowEvent |
This event subclass represents a
window event. |
| Graph |
This class represents a graph with
the specified node and arc types. |
| Grid |
This class stores an indexed,
two-dimensional array. |
| HashMap |
This class maintains an association
between keys and values. |
| Lexicon |
This class is used to represent a
lexicon, or word list. |
| Lock |
This class represents a simple lock
used to control concurrency. |
| Map |
This class maintains an association
between keys and values. |
| Point |
This class represents an
x-y coordinate point on a two-dimensional integer
grid. |
| PriorityQueue |
This class models a linear structure
called a priority queue in which values are processed in
order of priority. |
| Queue |
This class models a linear structure
called a queue in which values are added at one end and removed
from the other. |
| Set |
This template class stores a
collection of distinct elements. |
| Sound |
This class encapsulates a sound file,
which is typically specified in the constructor. |
| Stack |
This class models a linear structure
called a stack in which values are added and removed only from
one end. |
| Thread |
This class encapsulates a lightweight
process running in the same address space as the creator. |
| TokenScanner |
This class divides a string into
individual tokens. |
| Vector |
This class stores an ordered list of
values similar to an array. |
| Interfaces |
| cmpfn.h
| This interface exports a
template function for comparing values of an unspecified type. |
| console.h
| This header file redirects the
cin, cout, and cerr channels to
use a console window. |
| direction.h
| This interface exports an
enumerated type called Direction whose elements are the
four compass points: NORTH, EAST,
SOUTH, and WEST. |
| error.h
| This file defines the
ErrorException class and the error
function. |
| filelib.h
| This file exports a standardized
set of tools for working with files. |
| foreach.h
| This interface defines the
foreach keyword, which is used to simplify
iteration. |
| gevents.h
| This interface defines the event
types used in the StanfordCPPLib graphics
libraries. |
| gmath.h
| This file exports several
functions for working with graphical geometry along with the
mathematical constants PI and E. |
| graph.h
| This interface exports a
parameterized Graph class used to represent
graphs. |
| graphics.h
| This interface provides access
to a simple graphics library.
|
| grid.h | This interface exports the
Grid template class, which provides a convenient
abstraction for representing two-dimensional arrays. |
| gtypes.h
| This file defines three
classes—GPoint, GRectangle, and
GPolygon—that are used in the graphics library to
encapsulate basic geometrical concepts. |
| gwindow.h
| This class defines a graphics
window. |
| hashmap.h
| This interface exports the
template class HashMap, which maintains a collection of
key-value pairs using a hashtable as the underlying
structure. |
| lexicon.h
| This interface exports the
Lexicon class, which is a compact structure for storing a
list of words. |
| map.h
| This interface exports the
template class Map, which maintains a collection of
key-value pairs. |
| point.h
| This interface exports a class
representing an integer-valued x-y pair. |
| pqueue.h
| This interface exports the
PriorityQueue class, a collection in which values are
processed in priority order. |
| queue.h
| This interface exports the
Queue class, a collection in which values are ordinarily
processed in a first-in/first-out (FIFO) order. |
| random.h
| This interface exports functions
for generating pseudorandom numbers. |
| set.h
| This interface exports the
Set class, a collection for efficiently storing a set of
distinct elements. |
| simpio.h
| This interface exports a set of
functions that simplify input/output operations in C++ and provide some
error-checking on console input. |
| sound.h
| This interface defines a class
that represents a sound. |
| stack.h
| This interface exports the
Stack class, which implements a collection that processes
values in a last-in/first-out (LIFO) order. |
| strlib.h
| This interface exports several
useful string functions that are not included in the C++ string
library. |
| thread.h
| This interface exports a simple,
platform-independent thread abstraction, along with simple tools for
concurrency control. |
| tokenscanner.h
| This file exports a
TokenScanner class that divides a string into individual
logical units called tokens. |
| vector.h
| This interface exports the
Vector template class, which provides an efficient, safe,
convenient replacement for the array type in C++. |