Logo Search packages:      
Sourcecode: condor version File versions  Download package

void ExprTree::SetParentScope ( const ClassAd p  )  [inherited]

Sets the lexical parent scope of the expression, which is used to determine the lexical scoping structure for resolving attribute references. (However, the semantic parent may be different from the lexical parent if a super attribute is specified.) This method is automatically called when expressions are inserted into ClassAds, and should thus be called explicitly only when evaluating expressions which haven't been inserted into a ClassAd.

Parameters:
p The parent ClassAd.

Definition at line 67 of file exprTree.cpp.

Referenced by ClassAd::Copy(), ClassAd::CopyFrom(), MatchClassAd::RemoveLeftAd(), and MatchClassAd::RemoveRightAd().

{
      parentScope = scope;
      _SetParentScope( scope );
}


Generated by  Doxygen 1.6.0   Back to index