KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::Counter< TCountedType > Class Template Reference

Short class definition. More...

#include <counter.h>

Collaboration diagram for Kratos::Counter< TCountedType >:

Public Member Functions

Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Static Public Member Functions

Access
static SizeType GetCounter ()
 
static SizeType Increment ()
 

Protected Member Functions

Protected LifeCycle
 Counter ()
 Default constructor. More...
 
 Counter (Counter< TCountedType > const &rOther)
 Copy constructor. More...
 
virtual ~Counter ()
 Destructor. More...
 

Type Definitions

typedef unsigned int SizeType
 
 KRATOS_CLASS_POINTER_DEFINITION (Counter)
 Pointer definition of Counter. More...
 

Detailed Description

template<class TCountedType>
class Kratos::Counter< TCountedType >

Short class definition.

Detail class definition.

Member Typedef Documentation

◆ SizeType

template<class TCountedType >
typedef unsigned int Kratos::Counter< TCountedType >::SizeType

Constructor & Destructor Documentation

◆ Counter() [1/2]

template<class TCountedType >
Kratos::Counter< TCountedType >::Counter ( )
inlineprotected

Default constructor.

◆ Counter() [2/2]

template<class TCountedType >
Kratos::Counter< TCountedType >::Counter ( Counter< TCountedType > const &  rOther)
inlineprotected

Copy constructor.

◆ ~Counter()

template<class TCountedType >
virtual Kratos::Counter< TCountedType >::~Counter ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ GetCounter()

template<class TCountedType >
static SizeType Kratos::Counter< TCountedType >::GetCounter ( )
inlinestatic

◆ Increment()

template<class TCountedType >
static SizeType Kratos::Counter< TCountedType >::Increment ( )
inlinestatic

◆ Info()

template<class TCountedType >
virtual std::string Kratos::Counter< TCountedType >::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TCountedType >
Kratos::Counter< TCountedType >::KRATOS_CLASS_POINTER_DEFINITION ( Counter< TCountedType >  )

Pointer definition of Counter.

◆ PrintData()

template<class TCountedType >
virtual void Kratos::Counter< TCountedType >::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

template<class TCountedType >
virtual void Kratos::Counter< TCountedType >::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.


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