SMALL SAMPLE PROGRAMS:
These programs are used as our regression testing suite as well as
illustrating a few minor functions each time. As well as this list,
we have grouped the samples simply by numeric
order.
Back to index
- Adding Data
- ooftst01,
ooftst01.inc simple database
and text field updating
- ooftst02,
ooftst02.inc adding related
data
- ooftst06 modifying related
data
- BLOBS
- ooftst31 BLOBs stored in
the database and updated, with various operations changing their
size and partial contents.
- Boolean Fields
- ooftst32 Boolean fields
stored, indexed and used in searches.
- Calculated Fields
- ooftst29 Calculated field
Total Price used to show how a calculated field is defined and can
be used for searches and sorting.
- see also Calculated Fields
-
- Compound Index definition
- ooftst12
- Date parsing
- ooftst05
- see also Field Types
- Defining databases
- ooftst01.inc simple schema
- ooftst02.inc relationships
- ooftst19 Using an abstract
base class and using mixin inheritance.
- ooftst22 Runtime
diagnostics to help you avoid common mistakes in defining your
database.
- ooftst25 Create a RAM-based
table from a c-tree table.
- Deleting Data
- ooftst09
- Duplicate Item Handling
- ooftst36
- see also Duplicate Records
-
- Indexing
- ooftst12 define and search
by compound index
- ooftst23 suppress indexing
and rebuild indices for fast import
- Importing Data
- ooftst10 simple input from
a C++ stream of tab-delimited data.
- ooftst23 suppress indexing
and rebuild indices for fast import
- Inheritance
- ooftst19 Mixin inheritance
that demonstrates how an abstract base class can be used and a
mixin can add fields. You can also extend this approach to mixin
OOFILE persistent classes with your existing classes.
- Keywords
- ooftst27 Word parser used
in generating keyword indices is tested with a few word lists to
show how the 'stop word' lists and minimum word length work to
filter words from the index.
- ooftst28 Keyword indexing
and searches, with rebuilding of the indexes.
- Opening Databases
- ooftst15 Open two c-tree
databases sequentially.
- ooftst24 Open two c-tree
databases simultaneously.
- ooftst25 Create a RAM-based
table from a c-tree table.
- Relationships
- ooftst02,
ooftst02.inc defining the
relationship and adding related data (a Join relationship)
- ooftst16,
ooftst16.inc same as above but
pointer relationship
- ooftst26 Counting related
data and intersecting related data as is often used in producing
reports or graphs.
- see also Relationships
- Report Writer (simple character reports, included with core
database)
- ooftst04
plain character reports
- ooftst14 htm reports
- Columnar plain htm
- PageWise plain htm
- Columnar NetScape
tables
- PageWise NetScape
tables
- Searching
- ooftst01 simple searches
- ooftst07,
ooftst07.inc comprehensive
workout
- ooftst12 compound index
search
- ooftst14 search within
selection
- ooftst18 wildcard text
searching
- ooftst20 ad-hoc query
definition
- ooftst21 search multiple
string fragments
- ooftst28 Keyword indexing
and searches, with rebuilding of the indexes.
- see also Searches
- Separate Files and Path resolution to the Database
- ooftst01
- Selection operations, combining results of searches
- ooftst01
- ooftst26 Counting related
data and intersecting related data as is often used in producing
reports or graphs.
- see also Selections and Sorting
- Sorting
- ooftst01 sort by single
field
- ooftst12 sort by compound
index
- ooftst21 sort by multiple
fields
- see also Selections and Sorting
- Test database generation
- ooftst11
- Views for displaying subsets of fields
- ooftst01 views used with
cout, both predefined and defined as temporary objects in the cout
expression
- views used by report-writer in
plain character and
simple HTML reports
(c) Copyright A.D. Software 1994-1997 (All Rights Reserved).
Last Updated: 8th March 1997