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

ClassAdParser Class Reference

#include <source.h>

List of all members.


Detailed Description

This reads ClassAd strings from various sources and converts them into a ClassAd. It can read from C++ strings, C strings, FILEs, and streams.

Definition at line 37 of file source.h.


Public Member Functions

 ClassAdParser ()
 Constructor.
Lexer::TokenType ConsumeToken (void)
bool ParseClassAd (LexerSource *lexer_source, ClassAd &ad, bool full=false)
bool ParseClassAd (std::istream &stream, ClassAd &classad, bool full=false)
bool ParseClassAd (FILE *file, ClassAd &classad, bool full=false)
bool ParseClassAd (const char *buffer, ClassAd &classad, int &offset)
bool ParseClassAd (const char *buffer, ClassAd &classad, bool full=false)
bool ParseClassAd (const std::string &buffer, ClassAd &classad, int &offset)
bool ParseClassAd (const std::string &buffer, ClassAd &ad, bool full=false)
ClassAdParseClassAd (LexerSource *lexer_source, bool full=false)
ClassAdParseClassAd (std::istream &stream, bool full=false)
ClassAdParseClassAd (FILE *file, bool full=false)
ClassAdParseClassAd (const char *buffer, int &offset)
ClassAdParseClassAd (const char *buffer, bool full=false)
ClassAdParseClassAd (const std::string &buffer, int &offset)
ClassAdParseClassAd (const std::string &buffer, bool full=false)
ExprTreeParseExpression (LexerSource *lexer_source, bool full=false)
ExprTreeParseExpression (const std::string &buffer, bool full=false)
bool ParseExpression (LexerSource *lexer_source, ExprTree *&expr, bool full=false)
bool ParseExpression (const std::string &buffer, ExprTree *&expr, bool full=false)
ExprTreeParseNextExpression (void)
Lexer::TokenType PeekToken (void)
void SetDebug (bool d)
 ~ClassAdParser ()
 Destructor.

Private Member Functions

ExprTreeevaluateFunction (const std::string &functionName, std::vector< ExprTree * > &argList)
bool parseAdditiveExpression (ExprTree *&)
bool parseANDExpression (ExprTree *&)
bool parseArgumentList (std::vector< ExprTree * > &)
bool parseClassAd (ClassAd &, bool=false)
bool parseEqualityExpression (ExprTree *&)
bool parseExclusiveORExpression (ExprTree *&)
bool parseExpression (ExprTree *&, bool=false)
bool parseExprList (ExprList *&, bool=false)
bool parseInclusiveORExpression (ExprTree *&)
bool parseLogicalANDExpression (ExprTree *&)
bool parseLogicalORExpression (ExprTree *&)
bool parseMultiplicativeExpression (ExprTree *&)
bool parsePostfixExpression (ExprTree *&)
bool parsePrimaryExpression (ExprTree *&)
bool parseRelationalExpression (ExprTree *&)
bool parseShiftExpression (ExprTree *&)
bool parseUnaryExpression (ExprTree *&)
bool shouldEvaluateAtParseTime (const std::string &functionName, std::vector< ExprTree * > &argList)

Private Attributes

Lexer lexer

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index