Next: Reading TPhKeyPtr's
Up: Database access
Previous: Creating TPhDbKeys
  Contents
The TPhKeyPtr is a template class. Objects of the class
function for all intents and purposes (to the user) just like a
pointer. One specifies what the TPhKeyPtr is a pointer to by the
template parameter, thus:
TPhKeyPtr<TPhRun> run;
declares 'run' as a key pointer to a TPhRun object. If one has a
pointer to a valid object (which the above declaration does not do,
more below), it could refer to the actual run object thus:
run->GetDate();
Gunther Roland
2000-05-05