HPCToolkit
Analysis::TextUtil::ColumnFormatter Class Reference

#include <TextUtil.hpp>

Collaboration diagram for Analysis::TextUtil::ColumnFormatter:

Public Types

enum  Flag { Flag_NULL = 0, Flag_ForcePct, Flag_ForceVal }
 

Public Member Functions

 ColumnFormatter (const Prof::Metric::Mgr &metricMgr, std::ostream &os, int numDecPct, int numDecVal)
 
 ~ColumnFormatter ()
 
void genColHeaderSummary ()
 
void genCol (uint mid, double metricVal, double metricTot, Flag flg=Flag_NULL)
 
void genCol (uint mid, double metricVal, Flag flg=Flag_ForceVal)
 
void genBlankCol (uint mid)
 
void genBlankCols ()
 

Private Member Functions

bool isDisplayed (uint mId)
 

Private Attributes

const Prof::Metric::Mgrm_mMgr
 
std::ostream & m_os
 
int m_numDecPct
 
int m_numDecVal
 
std::vector< int > m_annotWidth
 
int m_annotWidthTot
 
std::vector< double > m_sciFmtLoThrsh_pct
 
std::vector< double > m_sciFmtHiThrsh_pct
 
std::vector< double > m_sciFmtLoThrsh_val
 
std::vector< double > m_sciFmtHiThrsh_val
 
std::vector< bool > m_dispPercent
 
std::vector< bool > m_isForceable
 

Detailed Description

Definition at line 90 of file TextUtil.hpp.

Member Enumeration Documentation

◆ Flag

Enumerator
Flag_NULL 
Flag_ForcePct 
Flag_ForceVal 

Definition at line 94 of file TextUtil.hpp.

Constructor & Destructor Documentation

◆ ColumnFormatter()

Analysis::TextUtil::ColumnFormatter::ColumnFormatter ( const Prof::Metric::Mgr metricMgr,
std::ostream &  os,
int  numDecPct,
int  numDecVal 
)

Definition at line 93 of file TextUtil.cpp.

Here is the call graph for this function:

◆ ~ColumnFormatter()

Analysis::TextUtil::ColumnFormatter::~ColumnFormatter ( )
inline

Definition at line 105 of file TextUtil.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ genBlankCol()

void Analysis::TextUtil::ColumnFormatter::genBlankCol ( uint  mid)

Definition at line 239 of file TextUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ genBlankCols()

void Analysis::TextUtil::ColumnFormatter::genBlankCols ( )
inline

Definition at line 131 of file TextUtil.hpp.

Here is the caller graph for this function:

◆ genCol() [1/2]

void Analysis::TextUtil::ColumnFormatter::genCol ( uint  mid,
double  metricVal,
double  metricTot,
ColumnFormatter::Flag  flg = Flag_NULL 
)

Definition at line 183 of file TextUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ genCol() [2/2]

void Analysis::TextUtil::ColumnFormatter::genCol ( uint  mid,
double  metricVal,
Flag  flg = Flag_ForceVal 
)
inline

Definition at line 119 of file TextUtil.hpp.

Here is the call graph for this function:

◆ genColHeaderSummary()

void Analysis::TextUtil::ColumnFormatter::genColHeaderSummary ( )

Definition at line 160 of file TextUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDisplayed()

bool Analysis::TextUtil::ColumnFormatter::isDisplayed ( uint  mId)
inlineprivate

Definition at line 138 of file TextUtil.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_annotWidth

std::vector<int> Analysis::TextUtil::ColumnFormatter::m_annotWidth
private

Definition at line 153 of file TextUtil.hpp.

◆ m_annotWidthTot

int Analysis::TextUtil::ColumnFormatter::m_annotWidthTot
private

Definition at line 154 of file TextUtil.hpp.

◆ m_dispPercent

std::vector<bool> Analysis::TextUtil::ColumnFormatter::m_dispPercent
private

Definition at line 162 of file TextUtil.hpp.

◆ m_isForceable

std::vector<bool> Analysis::TextUtil::ColumnFormatter::m_isForceable
private

Definition at line 163 of file TextUtil.hpp.

◆ m_mMgr

const Prof::Metric::Mgr& Analysis::TextUtil::ColumnFormatter::m_mMgr
private

Definition at line 146 of file TextUtil.hpp.

◆ m_numDecPct

int Analysis::TextUtil::ColumnFormatter::m_numDecPct
private

Definition at line 150 of file TextUtil.hpp.

◆ m_numDecVal

int Analysis::TextUtil::ColumnFormatter::m_numDecVal
private

Definition at line 151 of file TextUtil.hpp.

◆ m_os

std::ostream& Analysis::TextUtil::ColumnFormatter::m_os
private

Definition at line 147 of file TextUtil.hpp.

◆ m_sciFmtHiThrsh_pct

std::vector<double> Analysis::TextUtil::ColumnFormatter::m_sciFmtHiThrsh_pct
private

Definition at line 157 of file TextUtil.hpp.

◆ m_sciFmtHiThrsh_val

std::vector<double> Analysis::TextUtil::ColumnFormatter::m_sciFmtHiThrsh_val
private

Definition at line 160 of file TextUtil.hpp.

◆ m_sciFmtLoThrsh_pct

std::vector<double> Analysis::TextUtil::ColumnFormatter::m_sciFmtLoThrsh_pct
private

Definition at line 156 of file TextUtil.hpp.

◆ m_sciFmtLoThrsh_val

std::vector<double> Analysis::TextUtil::ColumnFormatter::m_sciFmtLoThrsh_val
private

Definition at line 159 of file TextUtil.hpp.


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