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

ListT< Value > Class Template Reference

#include <ListT.H>

List of all members.

Public Member Functions

 ListT ()
 ListT (const Value &x1)
 ListT (const Value &x1, const Value &x2)
 ListT (const Value &x1, const Value &x2, const Value &x3)
 ListT (const Value &first, const ListT< Value > &tail)
ListT< Value > & operator= (const ListT< Value > &lst)
bool operator== (const ListT< Value > &lst)
bool operator!= (const ListT< Value > &lst)
bool Null () const
void SetEmpty ()
void Push (const Value &x)
Value Pop ()
int Length () const
Value First ()
Value Second ()
Value Third ()
ListT< Value > Tail ()
Value Nth (int n) const
void SetNth (int n, const Value &x)
ListT< Value > NthTail (int n)
void SetNthTail (int n, const ListT< Value > &x)
Value Last ()
ListT< Value > LastTail ()
ListT< Value > FirstN (int n)
bool EqualQ (const ListT< Value > &x)
bool Member (const Value &x) const
ListT< Value > Append (const ListT< Value > &l2) const
ListT< Value > AppendD (const ListT< Value > &l2)
ListT< Value > Append1 (const Value &x)
ListT< Value > Append1D (const Value &x)
ListT< Value > Copy ()
ListT< Value > Reverse ()
ListT< Value > ReverseD ()

Private Attributes

PairT< Value > * list
PairT< Value > * last

template<class Value>
class ListT< Value >


Constructor & Destructor Documentation

template<class Value>
ListT< Value >::ListT  )  [inline]
 

Definition at line 50 of file ListT.H.

template<class Value>
ListT< Value >::ListT const Value &  x1  ) 
 

Definition at line 202 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::New().

template<class Value>
ListT< Value >::ListT const Value &  x1,
const Value &  x2
 

Definition at line 208 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
ListT< Value >::ListT const Value &  x1,
const Value &  x2,
const Value &  x3
 

Definition at line 216 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
ListT< Value >::ListT const Value &  first,
const ListT< Value > &  tail
 

Definition at line 225 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::New().


Member Function Documentation

template<class Value>
ListT< Value > ListT< Value >::Append const ListT< Value > &  l2  )  const
 

Definition at line 393 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

Referenced by ApplicationFromCache(), and ModelFromCache().

template<class Value>
ListT< Value > ListT< Value >::Append1 const Value &  x  ) 
 

Definition at line 429 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
ListT< Value > ListT< Value >::Append1D const Value &  x  ) 
 

Definition at line 449 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::New().

Referenced by AppendDToContext(), BindingAppend(), BindingMinus(), ClosureVC::ClosureVC(), CollectFuncS(), CollectLetS(), CollectModelS(), ContextNames(), BlockEC::Eval(), ListEC::Eval(), ExprListEC::Eval(), EvalArgs(), ListAppend(), BindingVC::Names(), ParMap(), Prune(), RestrictContext(), Snip(), Sub(), Tail(), PickleC::UnpickleContext(), and PickleC::UnpickleVal().

template<class Value>
ListT< Value > ListT< Value >::AppendD const ListT< Value > &  l2  ) 
 

Definition at line 415 of file ListT.H.

References ListT< Value >::last, and ListT< Value >::list.

template<class Value>
ListT< Value > ListT< Value >::Copy  ) 
 

Definition at line 462 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
bool ListT< Value >::EqualQ const ListT< Value > &  x  ) 
 

Definition at line 377 of file ListT.H.

References ListT< Value >::list.

Referenced by BlockEC::Eval().

template<class Value>
Value ListT< Value >::First  )  [inline]
 

Definition at line 99 of file ListT.H.

Referenced by Append(), Assert(), Bind1(), Defined(), Div(), Elem(), Find(), FindR(), GetFP(), GetName(), GetValue(), Head(), IsBinding(), IsBool(), IsClosure(), IsErr(), IsInt(), IsList(), IsText(), Length(), List1(), Lookup(), Map(), Max(), Min(), Mod(), ModelName(), ParMap(), Print(), SameType(), Sub(), Tail(), and TypeOf().

template<class Value>
ListT< Value > ListT< Value >::FirstN int  n  ) 
 

Definition at line 358 of file ListT.H.

References PairT< Value >::first, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
Value ListT< Value >::Last  )  [inline]
 

Definition at line 127 of file ListT.H.

template<class Value>
ListT< Value > ListT< Value >::LastTail  ) 
 

Definition at line 346 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
int ListT< Value >::Length  )  const
 

Definition at line 271 of file ListT.H.

References ListT< Value >::list, and PairT< Value >::tail.

Referenced by Append(), Assert(), Bind1(), CanonicalDpnd(), Defined(), Div(), Elem(), EqualVal(), Find(), FindR(), BindingVC::GetElem(), ListVC::GetElem(), BindingVC::GetElemNoDpnd(), ListVC::GetElemNoDpnd(), GetFP(), GetName(), GetValue(), Head(), IsBinding(), IsBool(), IsClosure(), IsErr(), IsInt(), IsList(), IsText(), IterateAssoc(), BindingVC::Length(), ListVC::Length(), Length(), List1(), Lookup(), Map(), Max(), ValC::MergeAndLenDPS(), Min(), Mod(), ModelName(), ParMap(), PickleC::PickleContext(), PickleC::PickleVal(), Print(), SameType(), Sub(), Tail(), and TypeOf().

template<class Value>
bool ListT< Value >::Member const Value &  x  )  const
 

Definition at line 382 of file ListT.H.

References PairT< Value >::first, ListT< Value >::list, and PairT< Value >::tail.

Referenced by AddVars(), ApplyEC::ApplyEC(), and Remove().

template<class Value>
Value ListT< Value >::Nth int  n  )  const
 

Definition at line 292 of file ListT.H.

References PairT< Value >::first, ListT< Value >::list, and PairT< Value >::tail.

Referenced by CollectDpnd(), CollectModel(), Elem(), BindingVC::GetElem(), ListVC::GetElem(), BindingVC::GetElemNoDpnd(), and ListVC::GetElemNoDpnd().

template<class Value>
ListT< Value > ListT< Value >::NthTail int  n  ) 
 

Definition at line 317 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
bool ListT< Value >::Null  )  const [inline]
 

Definition at line 74 of file ListT.H.

Referenced by AddToNewStuff(), AddVars(), AllFreeVarsBoundInContext(), AllTexts(), ApplicationFromCache(), BindingAppend(), BindingMinus(), BindRunToolArgs(), CacheIt(), ClosureVC::ClosureVC(), CollectAllDpnd(), CollectDefined(), PickleC::CollectDIs(), CollectDpnd(), CollectFunc(), CollectFuncS(), CollectLetS(), CollectModelS(), ContextNames(), ConvertEnvVars(), ConvertVals(), BindingVC::Defined(), DeleteDuplicatePaths(), DeleteDuplicatePathsInner(), EqualVal(), ErrorArgs(), BindingEC::Eval(), FindInContext(), BindingVC::FingerPrint(), ListVC::FingerPrint(), FingerPrintContext(), BindingVC::GetElem(), BindingVC::GetElemNoDpnd(), Head(), IterateAssoc(), LetDpnd(), ListAppend(), Map(), MergeArgsDpnd(), ModelCutOff(), BindingVC::Names(), NamesTagsPickle(), BindingVC::Null(), ParMap(), PickleC::PickleContext(), PickleC::PickleVal(), PrintContext(), BindingVC::PrintD(), ListVC::PrintD(), PrintDpndSize(), PrintVars(), Prune(), Remove(), RestrictContext(), ShipValue(), Snip(), Sub(), Tail(), ToolCommandLineAsText(), and ValueDpnd().

template<class Value>
bool ListT< Value >::operator!= const ListT< Value > &  lst  ) 
 

Definition at line 251 of file ListT.H.

template<class Value>
ListT< Value > & ListT< Value >::operator= const ListT< Value > &  lst  ) 
 

Definition at line 194 of file ListT.H.

References ListT< Value >::last, and ListT< Value >::list.

template<class Value>
bool ListT< Value >::operator== const ListT< Value > &  lst  ) 
 

Definition at line 231 of file ListT.H.

References PairT< Value >::first, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
Value ListT< Value >::Pop  ) 
 

Definition at line 261 of file ListT.H.

References ListT< Value >::last, and ListT< Value >::list.

Referenced by AddToNewStuff(), AddVars(), AllFreeVarsBoundInContext(), AllTexts(), ApplicationFromCache(), BindingAppend(), BindingMinus(), BindRunToolArgs(), CacheIt(), CanonicalDpnd(), ClosureVC::ClosureVC(), CollectAllDpnd(), CollectDefined(), PickleC::CollectDIs(), CollectDpnd(), CollectFunc(), CollectFuncS(), CollectLetS(), CollectModelS(), ContextNames(), ConvertEnvVars(), ConvertVals(), BindingVC::Defined(), DeleteDuplicatePaths(), DeleteDuplicatePathsInner(), EqualVal(), ErrorArgs(), BlockEC::Eval(), BindingEC::Eval(), FindInContext(), BindingVC::FingerPrint(), ListVC::FingerPrint(), FingerPrintContext(), BindingVC::GetElem(), BindingVC::GetElemNoDpnd(), IterateAssoc(), LetDpnd(), ListAppend(), Map(), MergeArgsDpnd(), ModelCutOff(), BindingVC::Names(), NamesTagsPickle(), ParMap(), PickleC::PickleContext(), PickleC::PickleVal(), PrintContext(), BindingVC::PrintD(), ListVC::PrintD(), PrintDpndSize(), PrintVars(), Prune(), Remove(), RestrictContext(), ShipValue(), Snip(), Sub(), Tail(), ToolCommandLineAsText(), and ValueDpnd().

template<class Value>
void ListT< Value >::Push const Value &  x  ) 
 

Definition at line 256 of file ListT.H.

Referenced by AddVars(), ApplicationFromCache(), ApplyEC::ApplyEC(), AssignAssoc(), CollectFunc(), BindingEC::Eval(), FuncEC::FuncEC(), IterateAssoc(), Map(), ParMap(), PushToContext(), RunTool(), and ValInit().

template<class Value>
ListT< Value > ListT< Value >::Reverse  ) 
 

Definition at line 480 of file ListT.H.

References PairT< Value >::first, ListT< Value >::last, ListT< Value >::list, PairT< Value >::New(), and PairT< Value >::tail.

template<class Value>
ListT< Value > ListT< Value >::ReverseD  ) 
 

Definition at line 494 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
Value ListT< Value >::Second  )  [inline]
 

Definition at line 100 of file ListT.H.

Referenced by Append(), Assert(), Bind1(), Defined(), Div(), Elem(), Find(), FindR(), Lookup(), Map(), Max(), Min(), Mod(), ParMap(), Print(), SameType(), and Sub().

template<class Value>
void ListT< Value >::SetEmpty  )  [inline]
 

Definition at line 77 of file ListT.H.

Referenced by NameEC::ClearFreeVars().

template<class Value>
void ListT< Value >::SetNth int  n,
const Value &  x
 

Definition at line 305 of file ListT.H.

References PairT< Value >::first, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
void ListT< Value >::SetNthTail int  n,
const ListT< Value > &  x
 

Definition at line 333 of file ListT.H.

References ListT< Value >::last, ListT< Value >::list, and PairT< Value >::tail.

template<class Value>
ListT< Value > ListT< Value >::Tail  ) 
 

Definition at line 283 of file ListT.H.

References ListT< Value >::last, and ListT< Value >::list.

template<class Value>
Value ListT< Value >::Third  )  [inline]
 

Definition at line 101 of file ListT.H.

Referenced by Find(), FindR(), Print(), and Sub().


Member Data Documentation

template<class Value>
PairT<Value>* ListT< Value >::last [private]
 

Definition at line 47 of file ListT.H.

Referenced by ListT< Value >::Append(), ListT< Value >::Append1(), ListT< Value >::Append1D(), ListT< Value >::AppendD(), ListT< Value >::Copy(), ListT< Text >::Last(), ListT< Value >::LastTail(), ListT< Value >::ListT(), ListT< Value >::NthTail(), ListT< Value >::operator=(), ListT< Value >::Pop(), ListT< Value >::Reverse(), ListT< Value >::ReverseD(), ListT< Text >::SetEmpty(), ListT< Value >::SetNthTail(), and ListT< Value >::Tail().

template<class Value>
PairT<Value>* ListT< Value >::list [private]
 

Definition at line 46 of file ListT.H.

Referenced by ListT< Value >::Append(), ListT< Value >::Append1(), ListT< Value >::Append1D(), ListT< Value >::AppendD(), ListT< Value >::Copy(), ListT< Value >::EqualQ(), ListT< Text >::First(), ListT< Value >::FirstN(), ListT< Value >::LastTail(), ListT< Value >::Length(), ListT< Value >::ListT(), ListT< Value >::Member(), ListT< Value >::Nth(), ListT< Value >::NthTail(), ListT< Text >::Null(), ListT< Value >::operator=(), ListT< Value >::operator==(), ListT< Value >::Pop(), ListT< Value >::Reverse(), ListT< Value >::ReverseD(), ListT< Text >::Second(), ListT< Text >::SetEmpty(), ListT< Value >::SetNth(), ListT< Value >::SetNthTail(), ListT< Value >::Tail(), and ListT< Text >::Third().


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:11 2006 for Vesta by  doxygen 1.4.2