#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 * | copy () |
| 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.
|
|
|
|
|
Definition at line 14 of file List.cpp. References _item, _next, ListItem::atomic(), copy(), and List(). |
|
|
|
|
|
Implements ListItem. |
|
|
|
|
|
Definition at line 38 of file List.cpp. References _item, _lineNumber, ListItem::atomic(), and List(). Referenced by List(). |
|
|
Definition at line 45 of file List.h. References _item. Referenced by AnimatedSprite::AnimatedSprite(), findAndReplace(), Game::Game(), getRestString(), getString(), Level::levelSpecsLoad(), Weapon::load(), Menu::load(), CutScene::load(), NewGameMenu::NewGameMenu(), Object::Object(), ShowOneSprite::ShowOneSprite(), snoc(), and CommandManager::startPlaying(). |
|
||||||||||||
|
Implements ListItem. Definition at line 178 of file List.cpp. References _item, empty(), ListItem::findAndReplace(), and rest(). Referenced by EventPoint::findAndReplace(). |
|
|
Definition at line 136 of file List.cpp. References _item. Referenced by cons(), firstDouble(), firstInt(), firstList(), firstString(), getRestString(), and getString(). |
|
|
Definition at line 126 of file List.cpp. References first(), and ListItem::getDouble(). |
|
|
|
Implements ListItem. Definition at line 131 of file List.cpp. References first(), and ListItem::getList(). Referenced by AimCommand::AimCommand(), AnimatedSprite::AnimatedSprite(), Game::Game(), Level::levelSpecsLoad(), Weapon::load(), Menu::load(), CutScene::load(), NewGameMenu::NewGameMenu(), Object::Object(), ShowOneSprite::ShowOneSprite(), and CommandManager::startPlaying(). |
|
|
|
Implements ListItem. Definition at line 79 of file List.cpp. References _lineNumber. |
|
|
Implements ListItem. Definition at line 73 of file List.cpp. References _lineNumber. |
|
|
Implements ListItem. |
|
|
Definition at line 102 of file List.cpp. References empty(), first(), getRestString(), ListItem::getString(), and rest(). Referenced by getRestString(), and getString(). |
|
|
|
|
|
Definition at line 56 of file List.h. Referenced by cons(), copy(), empty(), findAndReplace(), first(), List(), snoc(), and ~List(). |
|
|
Definition at line 58 of file List.h. Referenced by copy(), getDouble(), and getInt(). |
|
|
|
1.4.6-NO