Public Member Functions | Static Public Attributes | Protected Attributes

ClassAdUnParser Class Reference

This converts a ClassAd into a string representing the ClassAd. More...

#include <sink.h>

Inheritance diagram for ClassAdUnParser:
PrettyPrint PrettyPrint

List of all members.

Public Member Functions

 ClassAdUnParser ()
 Constructor.
virtual ~ClassAdUnParser ()
 Destructor.
void setXMLUnparse (bool doXMLUnparse)
void setDelimiter (char delim)
void Unparse (std::string &buffer, const Value &val)
void Unparse (std::string &buffer, const ExprTree *expr)
void SetOldClassAd (bool)
bool GetOldClassAd ()
virtual void UnparseAux (std::string &buffer, const Value &, Value::NumberFactor)
virtual void UnparseAux (std::string &buffer, const ExprTree *tree, std::string &ref, bool absolute=false)
virtual void UnparseAux (std::string &buffer, Operation::OpKind op, ExprTree *op1, ExprTree *op2, ExprTree *op3)
virtual void UnparseAux (std::string &buffer, std::string &fnName, std::vector< ExprTree * > &args)
virtual void UnparseAux (std::string &buffer, std::vector< std::pair< std::string, ExprTree * > > &attrlist)
virtual void UnparseAux (std::string &buffer, std::vector< ExprTree * > &)
virtual void UnparseAux (std::string &buffer, std::string identifier)
 ClassAdUnParser ()
 Constructor.
virtual ~ClassAdUnParser ()
 Destructor.
void setXMLUnparse (bool doXMLUnparse)
void setDelimiter (char delim)
void Unparse (std::string &buffer, const Value &val)
void Unparse (std::string &buffer, const ExprTree *expr)
void SetOldClassAd (bool)
bool GetOldClassAd ()
virtual void UnparseAux (std::string &buffer, const Value &, Value::NumberFactor)
virtual void UnparseAux (std::string &buffer, const ExprTree *tree, std::string &ref, bool absolute=false)
virtual void UnparseAux (std::string &buffer, Operation::OpKind op, ExprTree *op1, ExprTree *op2, ExprTree *op3)
virtual void UnparseAux (std::string &buffer, std::string &fnName, std::vector< ExprTree * > &args)
virtual void UnparseAux (std::string &buffer, std::vector< std::pair< std::string, ExprTree * > > &attrlist)
virtual void UnparseAux (std::string &buffer, std::vector< ExprTree * > &)
virtual void UnparseAux (std::string &buffer, std::string identifier)

Static Public Attributes

static const char * opString []

Protected Attributes

bool oldClassAd
bool xmlUnparse
char delimiter

Detailed Description

This converts a ClassAd into a string representing the ClassAd.


Member Function Documentation

void ClassAdUnParser::setXMLUnparse ( bool  doXMLUnparse  ) 

Function to be called by the ClassAdXMLUnParser with a true flag before doing an XMLUnparse

void ClassAdUnParser::setXMLUnparse ( bool  doXMLUnparse  ) 

Function to be called by the ClassAdXMLUnParser with a true flag before doing an XMLUnparse

void ClassAdUnParser::Unparse ( std::string &  buffer,
const Value val 
)

Unparse a value

Parameters:
buffer The string to unparse to
val The value to unparse
void ClassAdUnParser::Unparse ( std::string &  buffer,
const ExprTree expr 
)

Unparse an expression

Parameters:
buffer The string to unparse to
expr The expression to unparse
void ClassAdUnParser::Unparse ( std::string &  buffer,
const ExprTree expr 
)

Unparse an expression

Parameters:
buffer The string to unparse to
expr The expression to unparse
void ClassAdUnParser::Unparse ( std::string &  buffer,
const Value val 
)

Unparse a value

Parameters:
buffer The string to unparse to
val The value to unparse

The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends