[classad-users] strange behaviour


Date: Wed, 28 May 2003 11:47:59 -0500 (CDT)
From: Alessandro Maraschini <alessandro.maraschini@xxxxxxxxxx>
Subject: [classad-users] strange behaviour
Hi all,
I've got this strange behaviour using your classad c++ library 0.9.1:




this is the code:

vector< pair< string, ExprTree* > > vect ;
ClassAdParser cp ;
ClassAd* classAd = new ClassAd ();
vect.push_back (   pair < string, ExprTree* >  ( "one" ,
cp.ParseExpression(  "false" )   ) ) ;
vect.push_back (   pair < string, ExprTree* >  ( "two" ,
cp.ParseExpression(  "\"One_string\"" )   ) ) ;
string       buffer="";
PrettyPrint  unp ;
unp.Unparse(buffer, classAd->ClassAd::MakeClassAd( vect )  ) ;
cout << "OUTPUT = " << buffer << endl << flush ;



and this is the standard output:

OUTPUT =
    [
    ]


Can you explain me wheter  I made some strange call or are there any
problems??

thank you,

Alessandro



Condor Classads Info:
http://www.cs.wisc.edu/condor/classad/




[← Prev in Thread] Current Thread [Next in Thread→]