Atom Class Reference

#include <List.h>

Inheritance diagram for Atom:

ListItem List of all members.

Public Member Functions

 Atom (std::string aString, int lineNumber=-1)
 Atom (int anInt, int lineNumber=-1)
 Atom (double aDouble, int lineNumber=-1)
 Atom (Atom *atom)
bool atomic ()
std::string getString ()
int getInt ()
double getDouble ()
ListgetList ()
std::string firstString ()
ListfirstList ()
void findAndReplace (std::string find, std::string replace)

Protected Attributes

std::string _string
int _lineNumber

Detailed Description

Definition at line 59 of file List.h.


Constructor & Destructor Documentation

Atom::Atom std::string  aString,
int  lineNumber = -1
 

Definition at line 160 of file List.cpp.

Atom::Atom int  anInt,
int  lineNumber = -1
 

Definition at line 165 of file List.cpp.

References _string.

Atom::Atom double  aDouble,
int  lineNumber = -1
 

Definition at line 173 of file List.cpp.

References _string.

Atom::Atom Atom atom  ) 
 

Definition at line 181 of file List.cpp.


Member Function Documentation

bool Atom::atomic  )  [inline, virtual]
 

Implements ListItem.

Definition at line 66 of file List.h.

void Atom::findAndReplace std::string  find,
std::string  replace
[virtual]
 

Implements ListItem.

Definition at line 202 of file List.cpp.

References _string.

List * Atom::firstList  )  [virtual]
 

Implements ListItem.

Definition at line 214 of file List.cpp.

References _lineNumber, and _string.

std::string Atom::firstString  )  [virtual]
 

Implements ListItem.

Definition at line 208 of file List.cpp.

References _lineNumber, and _string.

double Atom::getDouble  )  [virtual]
 

Implements ListItem.

Definition at line 197 of file List.cpp.

References _string.

int Atom::getInt  )  [virtual]
 

Implements ListItem.

Definition at line 192 of file List.cpp.

References _string.

List * Atom::getList  )  [virtual]
 

Implements ListItem.

Definition at line 186 of file List.cpp.

References _lineNumber, and _string.

std::string Atom::getString  )  [inline, virtual]
 

Implements ListItem.

Definition at line 67 of file List.h.

References _string.


Member Data Documentation

int Atom::_lineNumber [protected]
 

Definition at line 77 of file List.h.

Referenced by firstList(), firstString(), and getList().

std::string Atom::_string [protected]
 

Definition at line 76 of file List.h.

Referenced by Atom(), findAndReplace(), firstList(), firstString(), getDouble(), getInt(), getList(), and getString().


The documentation for this class was generated from the following files:
Generated on Sat Apr 22 15:05:21 2006 for ProjectX by  doxygen 1.4.6-NO