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

Description

A single element of the nested group call stack.

Every time a group function is called with a non-empty name, a new Block is pushed onto the call stack. When group is called with an empty name, the topmost Block is popped from the stack, and its sub-totals added to the Total element which thus collects data from multiple executions of identically-named groups.

Public Member Functions

 Block (const std::string &name, int level)
 

Public Attributes

std::string name
 
std::chrono::milliseconds started
 
int step
 
int total_steps
 
std::vector< std::string > messages
 
int level
 

Constructor & Destructor Documentation

◆ Block()

ProgressMonitor::Block::Block ( const std::string &  name,
int  level 
)

Member Data Documentation

◆ level

int ProgressMonitor::Block::level

◆ messages

std::vector<std::string> ProgressMonitor::Block::messages

◆ name

std::string ProgressMonitor::Block::name

◆ started

std::chrono::milliseconds ProgressMonitor::Block::started

◆ step

int ProgressMonitor::Block::step

◆ total_steps

int ProgressMonitor::Block::total_steps

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