#include <List.h>
Inheritance diagram for List:
Public Member Functions | |
List (int lineNumber=-1) | |
List (List *list) | |
~List () | |
bool | atomic () |
ListItem * | first () |
List * | rest () |
std::string | getString () |
int | getInt () |
double | getDouble () |
std::string | getRestString () |
List * | cons (ListItem *first) |
List * | snoc (ListItem *last) |
void | findAndReplace (std::string find, std::string replace) |
bool | empty () |
List * | getList () |
std::string | firstString () |
int | firstInt () |
double | firstDouble () |
List * | firstList () |
Protected Attributes | |
ListItem * | _item |
List * | _next |
int | _lineNumber |
Definition at line 22 of file List.h.
|
|
|
|
|
|
|
Implements ListItem. |
|
|
|
Definition at line 43 of file List.h. References _item. Referenced by AnimatedSprite::AnimatedSprite(), findAndReplace(), getRestString(), getString(), Level::levelSpecsLoad(), Person::load(), EventPoint::load(), Enemy::load(), Door::load(), CutScene::load(), Object::Object(), ShowOneSprite::ShowOneSprite(), snoc(), and CommandManager::startPlaying(). |
|
Implements ListItem. Definition at line 150 of file List.cpp. References _item, empty(), ListItem::findAndReplace(), and rest(). Referenced by EventPoint::findAndReplace(). |
|
Definition at line 108 of file List.cpp. References _item. Referenced by cons(), firstDouble(), firstInt(), firstList(), firstString(), getRestString(), and getString(). |
|
Definition at line 98 of file List.cpp. References first(), and ListItem::getDouble(). |
|
Definition at line 93 of file List.cpp. References first(), and ListItem::getInt(). Referenced by AddHealthCommand::AddHealthCommand(), AddScoreCommand::AddScoreCommand(), AimCommand::AimCommand(), FollowPlayerInRangeCommand::FollowPlayerInRangeCommand(), JumpCommand::JumpCommand(), MoveCommand::MoveCommand(), ShootInRangeCommand::ShootInRangeCommand(), and TurnCommand::TurnCommand(). |
|
Implements ListItem. Definition at line 103 of file List.cpp. References first(), and ListItem::getList(). Referenced by AimCommand::AimCommand(), AnimatedSprite::AnimatedSprite(), Level::levelSpecsLoad(), Person::load(), EventPoint::load(), Enemy::load(), Door::load(), CutScene::load(), Object::Object(), ShowOneSprite::ShowOneSprite(), and CommandManager::startPlaying(). |
|
|
Implements ListItem. Definition at line 51 of file List.cpp. References _lineNumber. |
|
Implements ListItem. Definition at line 45 of file List.cpp. References _lineNumber. |
|
Implements ListItem. |
|
Definition at line 74 of file List.cpp. References empty(), first(), getRestString(), ListItem::getString(), and rest(). Referenced by getRestString(), and getString(). |
|
|
|
|
Definition at line 54 of file List.h. Referenced by cons(), empty(), findAndReplace(), first(), List(), snoc(), and ~List(). |
|
Definition at line 56 of file List.h. Referenced by getDouble(), and getInt(). |
|
|