Date: | Fri, 7 Jun 2002 12:07:14 -0500 (CDT) |
---|---|
From: | Nicholas Coleman <ncoleman@xxxxxxxxxxx> |
Subject: | Re: [classad-users] ExprTree , ExprTreeList, Literal , Value |
> Value valueToInsert ; > valueToInsert.SetListValue(el) //Create a Value > instance of ExprList type > Literal *lit = Literal::MakeLiteral (valueToInsert); //converts the > Value into a Literal > someClassAd.Insert( some_string , (ExprTree*) lit); //Insert into a > ClassAd > > That doesn't seem to me quite a good solution... > Is there any other methods/classes available that I can use instead? Yes. Since ExprList is a subexpression of ExprTree all you have to do is: someClassAd.Insert( some_string, el ) - Nick Condor Classads Info: http://www.cs.wisc.edu/condor/classad/ |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [classad-users] ExprTree , ExprTreeList, Literal , Value, Alessandro Maraschini |
---|---|
Next by Date: | Re: [classad-users] ExprTree , ExprTreeList, Literal , Value, Nicholas Coleman |
Previous by Thread: | [classad-users] ExprTree , ExprTreeList, Literal , Value, Alessandro Maraschini |
Next by Thread: | Re: [classad-users] ExprTree , ExprTreeList, Literal , Value, Nicholas Coleman |
Indexes: | [Date] [Thread] |