/home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/scalar/String/str_03.cc
// file: $isip/class/math/scalar/String/str_03.cc
// version: $Id: str_03.cc 4918 2000-09-20 19:07:44Z duncan $
//
// isip include files
//
#include "String.h"
#include <Sof.h>
#include <SofParser.h>
[snipped]
// method: read
//
// arguments:
// Sof& sof: (input) sof file object
// long tag: (input) sof object instance tag
// const String& name: (input) sof object instance name
//
// return: a boolean value indicating status
//
// this method has the object read itself from an Sof file
//
boolean String::read(Sof& sof_a, long tag_a, const String& name_a) {
// get the instance of the object from the Sof file
//
if (!sof_a.find(name_a, tag_a)) {
return false;
}
// read the actual data from the sof file
//
if (!readData(sof_a)) {
return false;
}
// exit gracefully
//
return true;
}
[snipped]
//
// end of file
Up |
Home |
Courses |
Projects |
Proposals |
Publications
Please direct questions or comments to
joseph.picone@isip.piconepress.com