OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OA::OutputBuilderText Class Reference

#include <OutputBuilderText.hpp>

Inheritance diagram for OA::OutputBuilderText:
Inheritance graph
Collaboration diagram for OA::OutputBuilderText:
Collaboration graph

Public Member Functions

 OutputBuilderText ()
 
 OutputBuilderText (std::ostream &s)
 
virtual void outputString (const std::string &str)
 
void outputIRHandle (ProcHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (StmtHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (ExprHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (CallHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (OpHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (MemRefHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (SymHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (ConstSymHandle h, IRHandlesIRInterface &pIR)
 
void outputIRHandle (ConstValHandle h, IRHandlesIRInterface &pIR)
 
void objStart (const std::string &objName)
 
void objEnd (const std::string &objName)
 
void field (const std::string &fieldname, const std::string &value)
 short hand when specifying string for field value More...
 
void fieldStart (const std::string &fieldname)
 for fields whose value requires further output calls More...
 
void fieldEnd (const std::string &fieldname)
 
void listStart ()
 
void listEnd ()
 
void listItem (const std::string &value)
 short hand when specifying string for list item More...
 
void listItemStart ()
 for list items that require more output calls More...
 
void listItemEnd ()
 
void mapStart (const std::string &label, const std::string &keyLabel, const std::string &valueLabel)
 
void mapEnd (const std::string &label)
 
void mapEntry (const std::string &key, const std::string &value)
 short hand when all parts of entry are string More...
 
void mapKey (const std::string &key)
 
void mapValue (const std::string &value)
 
void mapEntryStart ()
 for map entries that require more output calls More...
 
void mapEntryEnd ()
 
void mapKeyStart ()
 
void mapKeyEnd ()
 
void mapValueStart ()
 
void mapValueEnd ()
 
virtual void graphStart (const std::string &label)
 
virtual void graphEnd (const std::string &label)
 
virtual void graphSubStart (const std::string &label)
 
virtual void graphSubEnd (const std::string &label)
 
virtual void graphNodeStart (int id)
 
virtual void graphNodeLabel (const std::string &label)
 
virtual void graphNodeLabelStart ()
 
virtual void graphNodeLabelEnd ()
 
virtual void graphNodeEnd ()
 
virtual void graphEdgeStart ()
 
virtual void graphEdgeLabelStart ()
 
virtual void graphEdgeLabelEnd ()
 
virtual void graphEdgeSourceNode (int id)
 
virtual void graphEdgeSinkNode (int id)
 
virtual void graphEdgeEnd ()
 
- Public Member Functions inherited from OA::OutputBuilder
 OutputBuilder ()
 
virtual ~OutputBuilder ()
 
 OutputBuilder (OutputBuilder &other)
 
 OutputBuilder (std::ostream &)
 

Protected Attributes

int mObjDepth
 
std::ostream & mStream
 

Private Attributes

int mListItemCount
 

Detailed Description

Definition at line 91 of file OutputBuilderText.hpp.

Constructor & Destructor Documentation

OA::OutputBuilderText::OutputBuilderText ( )
inline

Definition at line 94 of file OutputBuilderText.hpp.

OA::OutputBuilderText::OutputBuilderText ( std::ostream &  s)
inline

Definition at line 95 of file OutputBuilderText.hpp.

Member Function Documentation

void OA::OutputBuilderText::field ( const std::string fieldname,
const std::string value 
)
virtual

short hand when specifying string for field value

Implements OA::OutputBuilder.

Definition at line 187 of file OutputBuilderText.cpp.

References OA::indt(), and mStream.

Here is the call graph for this function:

void OA::OutputBuilderText::fieldEnd ( const std::string fieldname)
virtual

Implements OA::OutputBuilder.

Definition at line 198 of file OutputBuilderText.cpp.

void OA::OutputBuilderText::fieldStart ( const std::string fieldname)
virtual

for fields whose value requires further output calls

Implements OA::OutputBuilder.

Definition at line 193 of file OutputBuilderText.cpp.

References OA::indt(), and mStream.

Here is the call graph for this function:

void OA::OutputBuilderText::graphEdgeEnd ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 382 of file OutputBuilderText.cpp.

References mStream.

void OA::OutputBuilderText::graphEdgeLabelEnd ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 367 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphEdgeLabelStart ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 362 of file OutputBuilderText.cpp.

References OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphEdgeSinkNode ( int  id)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 377 of file OutputBuilderText.cpp.

References mStream.

void OA::OutputBuilderText::graphEdgeSourceNode ( int  id)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 372 of file OutputBuilderText.cpp.

References mStream.

void OA::OutputBuilderText::graphEdgeStart ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 357 of file OutputBuilderText.cpp.

References OA::indt(), and mStream.

Here is the call graph for this function:

void OA::OutputBuilderText::graphEnd ( const std::string label)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 317 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphNodeEnd ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 352 of file OutputBuilderText.cpp.

References mStream.

void OA::OutputBuilderText::graphNodeLabel ( const std::string label)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 337 of file OutputBuilderText.cpp.

References mStream.

void OA::OutputBuilderText::graphNodeLabelEnd ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 347 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphNodeLabelStart ( )
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 342 of file OutputBuilderText.cpp.

References OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphNodeStart ( int  id)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 332 of file OutputBuilderText.cpp.

References OA::indt(), and mStream.

Here is the call graph for this function:

void OA::OutputBuilderText::graphStart ( const std::string label)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 312 of file OutputBuilderText.cpp.

References OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphSubEnd ( const std::string label)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 327 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::graphSubStart ( const std::string label)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 322 of file OutputBuilderText.cpp.

References OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::listEnd ( )
virtual

Implements OA::OutputBuilder.

Definition at line 221 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::listItem ( const std::string value)
virtual

short hand when specifying string for list item

Implements OA::OutputBuilder.

Definition at line 224 of file OutputBuilderText.cpp.

References mListItemCount, and mStream.

void OA::OutputBuilderText::listItemEnd ( )
virtual

Implements OA::OutputBuilder.

Definition at line 236 of file OutputBuilderText.cpp.

References mListItemCount.

void OA::OutputBuilderText::listItemStart ( )
virtual

for list items that require more output calls

Implements OA::OutputBuilder.

Definition at line 231 of file OutputBuilderText.cpp.

References mListItemCount, and mStream.

void OA::OutputBuilderText::listStart ( )
virtual

Implements OA::OutputBuilder.

Definition at line 218 of file OutputBuilderText.cpp.

References mListItemCount, mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::mapEnd ( const std::string label)
virtual

Implements OA::OutputBuilder.

Definition at line 252 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::mapEntry ( const std::string key,
const std::string value 
)
virtual

short hand when all parts of entry are string

Implements OA::OutputBuilder.

Definition at line 258 of file OutputBuilderText.cpp.

References mapEntryEnd(), mapEntryStart(), mapKey(), and mapValue().

Here is the call graph for this function:

void OA::OutputBuilderText::mapEntryEnd ( )
virtual

Implements OA::OutputBuilder.

Definition at line 286 of file OutputBuilderText.cpp.

References mStream, and OA::popIndt().

Referenced by mapEntry().

Here is the call graph for this function:

void OA::OutputBuilderText::mapEntryStart ( )
virtual

for map entries that require more output calls

Implements OA::OutputBuilder.

Definition at line 281 of file OutputBuilderText.cpp.

References mStream, and OA::pushIndt().

Referenced by mapEntry().

Here is the call graph for this function:

void OA::OutputBuilderText::mapKey ( const std::string key)
virtual

Implements OA::OutputBuilder.

Definition at line 266 of file OutputBuilderText.cpp.

References mapKeyEnd(), mapKeyStart(), and mStream.

Referenced by mapEntry().

Here is the call graph for this function:

void OA::OutputBuilderText::mapKeyEnd ( )
virtual

Implements OA::OutputBuilder.

Definition at line 296 of file OutputBuilderText.cpp.

References mStream.

Referenced by mapKey().

void OA::OutputBuilderText::mapKeyStart ( )
virtual

Implements OA::OutputBuilder.

Definition at line 291 of file OutputBuilderText.cpp.

References OA::indt(), and mStream.

Referenced by mapKey().

Here is the call graph for this function:

void OA::OutputBuilderText::mapStart ( const std::string label,
const std::string keyLabel,
const std::string valueLabel 
)
virtual

Implements OA::OutputBuilder.

Definition at line 244 of file OutputBuilderText.cpp.

References OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::mapValue ( const std::string value)
virtual

Implements OA::OutputBuilder.

Definition at line 273 of file OutputBuilderText.cpp.

References mapValueEnd(), mapValueStart(), and mStream.

Referenced by mapEntry().

Here is the call graph for this function:

void OA::OutputBuilderText::mapValueEnd ( )
virtual

Implements OA::OutputBuilder.

Definition at line 305 of file OutputBuilderText.cpp.

Referenced by mapValue().

void OA::OutputBuilderText::mapValueStart ( )
virtual

Implements OA::OutputBuilder.

Definition at line 301 of file OutputBuilderText.cpp.

Referenced by mapValue().

void OA::OutputBuilderText::objEnd ( const std::string objName)
virtual

The end of each object decreases object depth.

Implements OA::OutputBuilder.

Definition at line 171 of file OutputBuilderText.cpp.

References OA::gNestedObjects, OA::indt(), mStream, and OA::popIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::objStart ( const std::string objName)
virtual
Parameters
objNameName of object class

The start of each object increased object depth.

Implements OA::OutputBuilder.

Definition at line 160 of file OutputBuilderText.cpp.

References OA::gNestedObjects, OA::indt(), mStream, and OA::pushIndt().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( ProcHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 102 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( StmtHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 108 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( ExprHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 114 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( CallHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 120 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( OpHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 126 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( MemRefHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 132 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( SymHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 138 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( ConstSymHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 144 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputIRHandle ( ConstValHandle  h,
IRHandlesIRInterface pIR 
)
virtual

Implements OA::OutputBuilder.

Definition at line 151 of file OutputBuilderText.cpp.

References mStream, and OA::IRHandlesIRInterface::toString().

Here is the call graph for this function:

void OA::OutputBuilderText::outputString ( const std::string str)
virtual

Implements OA::OutputBuilder.

Reimplemented in OA::OutputBuilderDOT.

Definition at line 94 of file OutputBuilderText.cpp.

References mStream.

Member Data Documentation

int OA::OutputBuilderText::mListItemCount
private

Definition at line 188 of file OutputBuilderText.hpp.

Referenced by listItem(), listItemEnd(), listItemStart(), and listStart().

int OA::OutputBuilderText::mObjDepth
protected

Definition at line 184 of file OutputBuilderText.hpp.


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