This is a special case of the ClassAdParser which prints the ClassAds more nicely. More...
#include <sink.h>
Public Member Functions | |
PrettyPrint () | |
Constructor. | |
virtual | ~PrettyPrint () |
Destructor. | |
void | SetClassAdIndentation (int=4) |
Set the indentation width for displaying classads. | |
int | GetClassAdIndentation () |
Get the indentation width for displaying classads. | |
void | SetListIndentation (int=4) |
Set the indentation width for displaying lists. | |
int | GetListIndentation () |
Get the indentation width for displaying lists. | |
void | SetWantStringQuotes (bool) |
bool | GetWantStringQuotes () |
void | SetMinimalParentheses (bool) |
Set minimal parentheses mode. | |
bool | GetMinimalParentheses () |
Get minimal parentheses mode. | |
virtual void | UnparseAux (std::string &buffer, Operation::OpKind op, ExprTree *op1, ExprTree *op2, ExprTree *op3) |
virtual void | UnparseAux (std::string &buffer, std::vector< std::pair< std::string, ExprTree * > > &attrlist) |
virtual void | UnparseAux (std::string &buffer, std::vector< ExprTree * > &) |
PrettyPrint () | |
Constructor. | |
virtual | ~PrettyPrint () |
Destructor. | |
void | SetClassAdIndentation (int=4) |
Set the indentation width for displaying classads. | |
int | GetClassAdIndentation () |
Get the indentation width for displaying classads. | |
void | SetListIndentation (int=4) |
Set the indentation width for displaying lists. | |
int | GetListIndentation () |
Get the indentation width for displaying lists. | |
void | SetWantStringQuotes (bool) |
bool | GetWantStringQuotes () |
void | SetMinimalParentheses (bool) |
Set minimal parentheses mode. | |
bool | GetMinimalParentheses () |
Get minimal parentheses mode. | |
virtual void | UnparseAux (std::string &buffer, Operation::OpKind op, ExprTree *op1, ExprTree *op2, ExprTree *op3) |
virtual void | UnparseAux (std::string &buffer, std::vector< std::pair< std::string, ExprTree * > > &attrlist) |
virtual void | UnparseAux (std::string &buffer, std::vector< ExprTree * > &) |
This is a special case of the ClassAdParser which prints the ClassAds more nicely.