Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

StringList Class Reference

#include <ConfigList.h>

List of all members.

Public Member Functions

 StringList (char *newdata)
 ~StringList (void)

Public Attributes

char * data
StringListnext


Detailed Description

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 46 of file ConfigList.h.


Constructor & Destructor Documentation

StringList::StringList char *  newdata  )  [inline]
 

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   }

StringList::~StringList void   )  [inline]
 

Definition at line 59 of file ConfigList.h.

00059                      {  // just clear out my info
00060     delete [] data;
00061     data = NULL;
00062     next = NULL;
00063   }


Member Data Documentation

char* StringList::data
 

Definition at line 48 of file ConfigList.h.

Referenced by Molecule::build_go_arrays(), Molecule::build_go_params(), Molecule::build_go_sigmas(), colvarproxy_namd::colvarproxy_namd(), NamdState::configListInit(), WorkDistrib::createAtomLists(), ParseOptions::get(), GlobalMasterSymmetry::GlobalMasterSymmetry(), Parameters::Parameters(), and ParseOptions::set().

StringList* StringList::next
 

Definition at line 49 of file ConfigList.h.

Referenced by Molecule::build_go_arrays(), Molecule::build_go_params(), Molecule::build_go_sigmas(), ParseOptions::get(), GlobalMasterSymmetry::GlobalMasterSymmetry(), ParseOptions::num(), Parameters::Parameters(), ParseOptions::set(), and ConfigList::ConfigListNode::~ConfigListNode().


The documentation for this class was generated from the following file:
Generated on Fri May 25 04:07:24 2012 for NAMD by  doxygen 1.3.9.1