Oodle Code
Several classes may help in developing Oodle.
Code discussed on January 28/30: ItVec
The class ItVec is an iterable vector. it uses
the class Iterator declared in
iterator.h as well
as the files below:
We also discussed several header files from my OO version of
stage 1/2 oodle. These are accessible as well.
Pointers to class members
Code we discussed in class on Tuesday, January 21, 1997
- pointers to data members in
sortnames.cc
- pointers to member functions with templates in
pubfiles.cc (it's called pubfiles.cc because
it's a public version of a program in progress called
files.cc.)
- The program sortall.cc from
other Duke CPS courses (including implementations of many sorting algorithms).
- directory.h is the header file
for the classes DirEntry and DirStream which
permit processing entries in a directory. The implementation
directory.ccis also available.
- map classes including abstract maps and the hash
implementations of the map class.
- In addition you may find certain Unix system calls useful.
You can use these in place of or in addition to the
DirEntry and DirStream classes or read the
man pages for the calls for useful ideas.
All these functions are used in the implementation file
directory.cc
Owen L. Astrachan
Last modified: Tue Jan 21 16:27:17 EST