algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::strategy::ProbeContextT< CapsType >::Log Class Reference

A log that keeps each line in memory for a test to read. More...

#include <algotradelib/src/strategy/concept.hpp>

Public Member Functions

void note (std::string_view message)
 Records one line.
const std::vector< std::string > & lines () const noexcept
 Returns the recorded lines.

Detailed Description

template<typename CapsType>
class algotradelib::strategy::ProbeContextT< CapsType >::Log

A log that keeps each line in memory for a test to read.

Definition at line 534 of file concept.hpp.

Member Function Documentation

◆ lines()

template<typename CapsType>
const std::vector< std::string > & algotradelib::strategy::ProbeContextT< CapsType >::Log::lines ( ) const
inlinenoexcept

Returns the recorded lines.

Returns
The lines, in order.

Definition at line 545 of file concept.hpp.

◆ note()

template<typename CapsType>
void algotradelib::strategy::ProbeContextT< CapsType >::Log::note ( std::string_view message)
inline

Records one line.

Parameters
messageThe line.

Definition at line 540 of file concept.hpp.


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