/home5/piconepr/public_html/isip/projects/speech/software/documentation/class/system/SysString/sstr_03.cc
// file: $isip/class/system/SysString/sstr_03.cc
// version: $Id: sstr_03.cc 10564 2006-04-22 03:06:55Z may $
//
// system include files
// note that we need some basic string functions. these are not included
// in Integral.h since users are not expected to use these functions.
//
#include <strings.h>
[snipped]
// isip include files
//
#include "SysString.h"
#include <Console.h>
[snipped]
// method: get
//
// arguments:
// SysChar& val: (output) SysChar value
//
// return: a boolean value indicating status
//
// this method converts the object into a SysChar
//
boolean SysString::get(SysChar& val_a) const {
// if length is 1 then assign the element to output SysChar
//
if (length() == 1) {
return val_a.assign(value_d[0]);
}
// exit ungracefully
//
return false;
}
[snipped]
//
// end of file
Up |
Home |
Courses |
Projects |
Proposals |
Publications
Please direct questions or comments to
joseph.picone@isip.piconepress.com