Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Tracker Struct Reference

#include "lib/test/tracking-dummy.hpp"

Description

A tracking Dummy object for tests.

All construction-, destruction and copy operations are logged into an embedded lib::test::EventLog

Definition at line 148 of file tracking-dummy.hpp.

Static Public Attributes

static lib::test::EventLog log {"Instance-Tracker"}
 
static constexpr int DEFUNCT = std::numeric_limits<int>::min()
 
static constexpr int DEAD = std::numeric_limits<int>::max()
 

Public Attributes

int val
 

Public Member Functions

 ~Tracker ()
 
 Tracker ()
 
 Tracker (int v)
 
 Tracker (Tracker const &ol)
 
 Tracker (Tracker &&oo)
 
Trackeroperator= (Tracker const &ol)
 
Trackeroperator= (Tracker &&oo)
 
 operator string () const
 

Friends

void swap (Tracker &t1, Tracker &t2)
 

Constructor & Destructor Documentation

◆ ~Tracker()

~Tracker ( )
inline

Definition at line 157 of file tracking-dummy.hpp.

References EventLog::call(), Tracker::DEAD, Tracker::log, and Tracker::val.

+ Here is the call graph for this function:

◆ Tracker() [1/4]

Tracker ( )
inline

Definition at line 163 of file tracking-dummy.hpp.

References EventLog::call(), Tracker::log, and lib::rani().

+ Here is the call graph for this function:

◆ Tracker() [2/4]

Tracker ( int  v)
inline

Definition at line 169 of file tracking-dummy.hpp.

References EventLog::call(), and Tracker::log.

+ Here is the call graph for this function:

◆ Tracker() [3/4]

Tracker ( Tracker const &  ol)
inline

Definition at line 175 of file tracking-dummy.hpp.

References EventLog::call(), and Tracker::log.

+ Here is the call graph for this function:

◆ Tracker() [4/4]

Tracker ( Tracker &&  oo)
inline

Definition at line 181 of file tracking-dummy.hpp.

References EventLog::call(), Tracker::DEFUNCT, and Tracker::log.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

Tracker & operator= ( Tracker const &  ol)
inline

Definition at line 189 of file tracking-dummy.hpp.

References EventLog::call(), util::isSameObject(), Tracker::log, and Tracker::val.

+ Here is the call graph for this function:

◆ operator=() [2/2]

Tracker & operator= ( Tracker &&  oo)
inline

Definition at line 204 of file tracking-dummy.hpp.

References EventLog::call(), Tracker::DEFUNCT, util::isSameObject(), Tracker::log, and Tracker::val.

+ Here is the call graph for this function:

◆ operator string()

operator string ( ) const
inline

Definition at line 219 of file tracking-dummy.hpp.

References Tracker::val.

Member Data Documentation

◆ log

◆ DEFUNCT

constexpr int DEFUNCT = std::numeric_limits<int>::min()
staticconstexpr

◆ DEAD

constexpr int DEAD = std::numeric_limits<int>::max()
staticconstexpr

Definition at line 153 of file tracking-dummy.hpp.

Referenced by Tracker::~Tracker().

◆ val

Friends And Related Symbol Documentation

◆ swap

void swap ( Tracker t1,
Tracker t2 
)
friend

Definition at line 225 of file tracking-dummy.hpp.

+ Collaboration diagram for Tracker:

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