#include <ConfigList.h>
Public Member Functions | |
| StringList (char *newdata) | |
| ~StringList (void) | |
Public Attributes | |
| char * | data |
| StringList * | next |
Definition at line 46 of file ConfigList.h.
|
|
Definition at line 50 of file ConfigList.h. References NAMD_die(). 00050 { // take a string, and copy it
00051 data = new char[strlen(newdata)+1];
00052 if ( data == NULL )
00053 {
00054 NAMD_die("new failed in struct StringList");
00055 }
00056 strcpy( data, newdata);
00057 next = NULL;
00058 }
|
|
|
Definition at line 59 of file ConfigList.h. 00059 { // just clear out my info
00060 delete [] data;
00061 data = NULL;
00062 next = NULL;
00063 }
|
|
|
1.3.9.1