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

BindingVC Class Reference

#include <Val.H>

Inheritance diagram for BindingVC:

ValC List of all members.

Public Member Functions

 BindingVC ()
 BindingVC (const Context &telems)
 BindingVC (Binding b1, Binding b2, bool rec)
 BindingVC (const BindingVC &val)
void PrintD (std::ostream *os, bool verbose=false, int indent=0)
FP::Tag FingerPrint ()
IntegerVCLength ()
Val Names ()
bool Null ()
Val Defined (const Text &id)
Val Lookup (const Text &id)
Val GetElem (const Text &name, int &index)
Val GetElem (int index, Text &name)
bool DefinedNoDpnd (const Text &id)
Val LookupNoDpnd (const Text &id)
Val GetElemNoDpnd (const Text &name, int &index)
Val GetElemNoDpnd (int index, Text &name)
Binding AddBindingAssoc (const Text &name, Val v)
Binding RemoveBindingAssoc (const Text &id)
Val AddToLenDPS (const DepPath &dp, Val val)
Val MergeToLenDPS (DPaths *ps)
Val Copy (bool more)

Public Attributes

Context elems
DPathslenDps

Private Member Functions

Context SimpleOverlay (Binding b)
Context RecursiveOverlay (Binding b)

Constructor & Destructor Documentation

BindingVC::BindingVC  )  [inline]
 

Definition at line 172 of file Val.H.

BindingVC::BindingVC const Context telems  )  [inline]
 

Definition at line 173 of file Val.H.

References elems.

BindingVC::BindingVC Binding  b1,
Binding  b2,
bool  rec
 

BindingVC::BindingVC const BindingVC val  )  [inline]
 

Definition at line 176 of file Val.H.


Member Function Documentation

Binding BindingVC::AddBindingAssoc const Text name,
Val  v
 

Definition at line 718 of file Val.C.

References NEW_CONSTR.

Referenced by AddToNewStuff().

Val BindingVC::AddToLenDPS const DepPath dp,
Val  val
 

Definition at line 729 of file Val.C.

References lenDps, NEW_CONSTR, and SharedTable< K, V >::T::Put().

Referenced by BindingMinus(), and Tail().

Val BindingVC::Copy bool  more  )  [virtual]
 

Implements ValC.

Definition at line 747 of file Val.C.

References lenDps, DepPathTbl::DPS::Merge(), and NEW_CONSTR.

Val BindingVC::Defined const Text id  ) 
 

Definition at line 523 of file Val.C.

References ValC::AddExtendToDPS(), BangPK, ValC::cacheit, FindInContext(), SharedTable< K, V >::KVPair::key, ValC::MergeDPS(), NEW_CONSTR, SharedTable< K, V >::Iterator::Next(), ListT< Value >::Null(), ListT< Value >::Pop(), and SharedTable< K, V >::KVPair::val.

Referenced by BindingAppend().

bool BindingVC::DefinedNoDpnd const Text id  ) 
 

Definition at line 687 of file Val.C.

References FindInContext().

Referenced by BindingMinus(), and CollectDefined().

FP::Tag BindingVC::FingerPrint  )  [virtual]
 

Implements ValC.

Definition at line 485 of file Val.C.

References bindingTag, elems, FP::Tag::ExtendRaw(), ListT< Value >::Null(), FP::Tag::Permute(), ListT< Value >::Pop(), RawFP, ValC::tag, ValC::tagged, and FP::Tag::Unpermute().

Referenced by IterateAssoc(), and Plus().

Val BindingVC::GetElem int  index,
Text name
 

Definition at line 672 of file Val.C.

References ValC::cacheit, elems, ValC::Extend(), IntArc(), ListT< Value >::Length(), ValC::MergeAndLenDPS(), AssocVC::name, NEW, ListT< Value >::Nth(), and AssocVC::val.

Val BindingVC::GetElem const Text name,
int &  index
 

Definition at line 652 of file Val.C.

References ValC::AddExtendToDPS(), BangPK, ValC::cacheit, ValC::dps, elems, ValC::Extend(), ValC::MergeDPS(), AssocVC::name, NEW, ListT< Value >::Null(), ValC::path, ListT< Value >::Pop(), and AssocVC::val.

Val BindingVC::GetElemNoDpnd int  index,
Text name
 

Definition at line 708 of file Val.C.

References elems, ListT< Value >::Length(), AssocVC::name, ListT< Value >::Nth(), and AssocVC::val.

Val BindingVC::GetElemNoDpnd const Text name,
int &  index
 

Definition at line 695 of file Val.C.

References elems, AssocVC::name, ListT< Value >::Null(), ListT< Value >::Pop(), and AssocVC::val.

Referenced by Evaluator_Dir_Server_Inner().

IntegerVC * BindingVC::Length  ) 
 

Definition at line 510 of file Val.C.

References ValC::AddToDPS(), BLenPK, ValC::cacheit, elems, ListT< Value >::Length(), ValC::MergeDPS(), ValC::MergeLenDPS(), and NEW_CONSTR.

Val BindingVC::Lookup const Text id  ) 
 

Definition at line 554 of file Val.C.

References ValC::cacheit, ValC::Extend(), and LookupInContext().

Referenced by BindRunToolArgs(), and RunTool().

Val BindingVC::LookupNoDpnd const Text id  ) 
 

Definition at line 691 of file Val.C.

References LookupInContext().

Referenced by RunTool().

Val BindingVC::MergeToLenDPS DPaths ps  ) 
 

Definition at line 738 of file Val.C.

References lenDps, DepPathTbl::DPS::Merge(), and NEW_CONSTR.

Referenced by BindingMinus().

Val BindingVC::Names  ) 
 

Definition at line 501 of file Val.C.

References ListT< Value >::Append1D(), elems, NEW_CONSTR, ListT< Value >::Null(), and ListT< Value >::Pop().

Referenced by IterateAssoc(), and ValC::MergeAndLenDPS().

bool BindingVC::Null  )  [inline]
 

Definition at line 184 of file Val.H.

References elems, and ListT< Value >::Null().

void BindingVC::PrintD std::ostream *  os,
bool  verbose = false,
int  indent = 0
[virtual]
 

Implements ValC.

Definition at line 472 of file Val.C.

References elems, Indent(), ListT< Value >::Null(), and ListT< Value >::Pop().

Context BindingVC::RecursiveOverlay Binding  b  )  [private]
 

Binding BindingVC::RemoveBindingAssoc const Text id  ) 
 

Definition at line 723 of file Val.C.

References elems, NEW_CONSTR, and Snip().

Context BindingVC::SimpleOverlay Binding  b  )  [private]
 


Member Data Documentation

Context BindingVC::elems
 

Definition at line 177 of file Val.H.

Referenced by AllTexts(), BindingAppend(), BindingVC(), CacheIt(), CollectAllDpnd(), CollectDpnd(), CollectFuncS(), CollectLetS(), CollectModelS(), Elem(), EqualVal(), FingerPrint(), GetElem(), GetElemNoDpnd(), IterateAssoc(), Length(), ModelCutOff(), Names(), Null(), PickleC::PickleVal(), PrintD(), PrintDpndSize(), RemoveBindingAssoc(), ShipValue(), Tail(), and ValueDpnd().

DPaths* BindingVC::lenDps
 

Definition at line 179 of file Val.H.

Referenced by AddToLenDPS(), CollectAllDpnd(), CollectDefined(), CollectFuncS(), CollectLetS(), CollectModelS(), Copy(), MergeToLenDPS(), ModelCutOff(), PickleC::PickleVal(), Tail(), and ValueDpnd().


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