Rogue Wave banner

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.

Endnotes

[1]
The notation is similar to the notation used in Design Patterns by Gamma, Helm, Johnson, and Vlissides. [Back to main text]
[2]
See the section in the User's Guide entitled "RWStringID" for more information on how to make a non-virtual function act like a virtual function. [Back to main text]
[3]
To change the amount of space allocated for a pattern you may edit file regexp.cpp to change the value of RWCRegexp::maxpat_, then recompile and insert the changed object into the appropriate library. [Back to main text]
[4]
This omission is deliberate because the problem of parsing a time from a string is very difficult. For instance, if the stream instream holds "9:30 am Dentist Appointment", and you try:

instream >> anRWTime >> anRWCString;
instream >> anRWCString;

there is no way that RWTime can know whether or not the "am" is part of the time. You can get around this if you know that there is no ambiguity. Read the time string into an RWCString, and create the RWTime from that:

anRWTime = RWTime(appropriateRWDate, anRWCString);

[Back to main text]

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.