Public Member Functions

PrettyPrint Class Reference

This is a special case of the ClassAdParser which prints the ClassAds more nicely. More...

#include <sink.h>

Inheritance diagram for PrettyPrint:
ClassAdUnParser ClassAdUnParser

List of all members.

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 * > &)

Detailed Description

This is a special case of the ClassAdParser which prints the ClassAds more nicely.


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