Cadabra
Computer algebra system for field theory problems
Classes | Public Member Functions | Private Attributes | List of all members
ProgressMonitor Class Reference

#include <ProgressMonitor.hh>

Classes

class  Block
 
class  Total
 

Public Member Functions

 ProgressMonitor ()
 
virtual ~ProgressMonitor ()
 
void group (std::string name="")
 
void progress (int n, int total)
 
void print () const
 
std::vector< Totaltotals () const
 

Private Attributes

std::stack< Blockcall_stack
 
std::map< std::string, Totalcall_totals
 

Constructor & Destructor Documentation

◆ ProgressMonitor()

ProgressMonitor::ProgressMonitor ( )

◆ ~ProgressMonitor()

ProgressMonitor::~ProgressMonitor ( )
virtual

Member Function Documentation

◆ group()

void ProgressMonitor::group ( std::string  name = "")

◆ print()

void ProgressMonitor::print ( ) const

◆ progress()

void ProgressMonitor::progress ( int  n,
int  total 
)

◆ totals()

std::vector< ProgressMonitor::Total > ProgressMonitor::totals ( ) const

Member Data Documentation

◆ call_stack

std::stack<Block> ProgressMonitor::call_stack
private

◆ call_totals

std::map<std::string, Total> ProgressMonitor::call_totals
private

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