#include <resource.h>
Inheritance diagram for TStringList::
Public Methods | |
~TStringList () | |
void | get (char *dest, ushort key) |
Static Public Methods | |
TStreamable* | build () |
Static Public Attributes | |
const char* const | name |
Protected Methods | |
TStringList (StreamableInit) | |
virtual void | write (opstream &) |
virtual void* | read (ipstream &is) |
String lists take up less memory than normal string literals, since the strings are stored on a stream instead of in memory. Also, string lists permit easy internationalization, as the strings are not hard-coded in your program.
TStringList has member functions only for accessing strings; you must use TStrListMaker to create string lists.
Definition at line 386 of file resource.h.
|
Deallocates the memory allocated to the string list. |
|
Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized virtual table pointers. This is achieved by calling this constructor with an argument of type StreamableInit. |
|
Called to create an object in certain stream-reading situations. |
|
Returns in `dest' the string given by `key', or an empty string if there is no string with the given key. |
|
Reads from the input stream `is'. Reimplemented from TStreamable. |
|
Writes to the output stream `os'. Reimplemented from TStreamable. Definition at line 416 of file resource.h. |
|
Undocumented. Definition at line 425 of file resource.h. |