PH Logo
Logo intepreter modeled after UCB Logo.
Public Member Functions | Static Public Member Functions | Friends
phlogo::List Class Reference

#include <List.h>

List of all members.

Public Member Functions

 List (tListArray *list)
std::string str ()
void add (pThing thing)
void addString (const std::string &s)
void clear ()
unsigned int size ()
pThing operator[] (const size_t idx)
pThing get (const size_t idx)
void set (const size_t idx, pThing thing)
void push_front (pThing thing)
void push_back (pThing thing)
pThing pop_front ()
pThing pop_back ()
void fromWord (StringTokenStream *sts)
tListArray::iterator begin ()
tListArray::iterator end ()
tListArray::reverse_iterator rend ()
tListArray::reverse_iterator rbegin ()
tListArray * getVector ()

Static Public Member Functions

static bool isList (char c)

Friends

class ListArrayParser

Detailed Description

A list.

Definition at line 26 of file List.h.


Member Function Documentation

void phlogo::List::fromWord ( StringTokenStream sts)

Convert the words given into the list (if possible).

Definition at line 110 of file List.cpp.

bool phlogo::List::isList ( char  c) [static]

True if the string is a list.

Definition at line 106 of file List.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions