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


Detailed Description

template<class Value>
class ListT< Value >

Definition at line 44 of file ListT.H.


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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Function Documentation

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>
bool ListT< Value >::operator!= ( const ListT< Value > &  lst  ) 

Definition at line 251 of file ListT.H.

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

Definition at line 74 of file ListT.H.

Referenced by AddVars(), AllFreeVarsBoundInContext(), AllTexts(), ApplicationFromCache(), BindingAppend(), BindingMinus(), BindRunToolArgs(), CacheIt(), CanonicalDpnd(), ClosureVC::ClosureVC(), CollectDefined(), PickleC::CollectDIs(), CollectDpnd(), CollectFunc(), CollectFuncS(), CollectLetS(), CollectModelS(), ContextNames(), ConvertEnvVars(), ConvertVals(), BindingVC::Defined(), DeleteDuplicatePaths(), 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(), PrintDpndSize(), PrintVars(), Prune(), BindingVC::RecursiveOverlay(), Remove(), RestrictContext(), RunToolPKFromRoot(), ShipValue(), BindingVC::SimpleOverlay(), Snip(), Sub(), Tail(), ToolCommandLineAsText(), and ValueDpnd().

Here is the caller graph for this function:

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

Definition at line 77 of file ListT.H.

Referenced by NameEC::ClearFreeVars().

Here is the caller graph for this function:

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(), PrimRunToolInit_inner(), PushToContext(), RunTool(), and ValInit_inner().

Here is the caller graph for this function:

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 AddVars(), AllFreeVarsBoundInContext(), AllTexts(), ApplicationFromCache(), BindingAppend(), BindingMinus(), BindRunToolArgs(), CacheIt(), CanonicalDpnd(), ClosureVC::ClosureVC(), CollectDefined(), PickleC::CollectDIs(), CollectDpnd(), CollectFunc(), CollectFuncS(), CollectLetS(), CollectModelS(), ContextNames(), ConvertEnvVars(), ConvertVals(), BindingVC::Defined(), DeleteDuplicatePaths(), 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(), PrintDpndSize(), PrintVars(), Prune(), BindingVC::RecursiveOverlay(), Remove(), RestrictContext(), RunToolPKFromRoot(), ShipValue(), BindingVC::SimpleOverlay(), Snip(), Sub(), Tail(), ToolCommandLineAsText(), and ValueDpnd().

Here is the caller graph for this function:

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(), FindInner(), 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(), ListAppend(), Lookup(), Map(), Max(), ValC::MergeAndLenDPS(), Min(), Mod(), ModelName(), ParMap(), PickleC::PickleContext(), PickleC::PickleVal(), Print(), SameType(), Sub(), Tail(), and TypeOf().

Here is the caller graph for this function:

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

Definition at line 99 of file ListT.H.

Referenced by Append(), Assert(), Bind1(), Defined(), Div(), Elem(), FindInner(), 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().

Here is the caller graph for this function:

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

Definition at line 100 of file ListT.H.

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

Here is the caller graph for this function:

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

Definition at line 101 of file ListT.H.

Referenced by FindInner(), Print(), and Sub().

Here is the caller graph for this function:

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 >::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().

Here is the caller graph for this function:

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>
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>
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>
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>
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.

Here is the call graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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

Definition at line 393 of file ListT.H.

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

Referenced by ApplicationFromCache(), and ModelFromCache().

Here is the call graph for this function:

Here is the caller graph for this function:

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 >::Append1 ( const Value &  x  ) 

Definition at line 429 of file ListT.H.

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

Here is the call graph for this function:

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(), BindingVC::RecursiveOverlay(), RestrictContext(), BindingVC::SimpleOverlay(), Snip(), Sub(), Tail(), PickleC::UnpickleContext(), and PickleC::UnpickleVal().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 462 of file ListT.H.

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

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.


Member Data Documentation

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< nodeinfo * >::First(), ListT< Value >::FirstN(), ListT< Value >::LastTail(), ListT< Value >::Length(), ListT< Value >::ListT(), ListT< Value >::Member(), ListT< Value >::Nth(), ListT< Value >::NthTail(), ListT< nodeinfo * >::Null(), ListT< Value >::operator=(), ListT< Value >::operator==(), ListT< Value >::Pop(), ListT< Value >::Reverse(), ListT< Value >::ReverseD(), ListT< nodeinfo * >::Second(), ListT< nodeinfo * >::SetEmpty(), ListT< Value >::SetNth(), ListT< Value >::SetNthTail(), ListT< Value >::Tail(), and ListT< nodeinfo * >::Third().

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< nodeinfo * >::Last(), ListT< Value >::LastTail(), ListT< Value >::ListT(), ListT< Value >::NthTail(), ListT< Value >::operator=(), ListT< Value >::Pop(), ListT< Value >::Reverse(), ListT< Value >::ReverseD(), ListT< nodeinfo * >::SetEmpty(), ListT< Value >::SetNthTail(), and ListT< Value >::Tail().


The documentation for this class was generated from the following file:
Generated on Fri May 25 01:01:20 2007 for Vesta by  doxygen 1.5.1