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::FactoryBase Class Reference

Here we define some common methods. More...

#include <factory.h>

Inheritance diagram for Kratos::FactoryBase:
Collaboration diagram for Kratos::FactoryBase:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (FactoryBase)
 Pointer definition of FactoryBase. More...
 
Life Cycle
 FactoryBase ()
 
virtual ~FactoryBase ()
 
Operations
virtual bool Has (const std::string &rClassName) const
 This method checks if the linear class is registered. More...
 
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...
 

Detailed Description

Here we define some common methods.

Defines the base class factory methods

Author
Vicente Mataix Ferrandiz

Constructor & Destructor Documentation

◆ FactoryBase()

Kratos::FactoryBase::FactoryBase ( )
inlineexplicit

Constructor.

◆ ~FactoryBase()

virtual Kratos::FactoryBase::~FactoryBase ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Has()

virtual bool Kratos::FactoryBase::Has ( const std::string &  rClassName) const
inlinevirtual

This method checks if the linear class is registered.

Parameters
rClassNameThe nanme of the class
Returns
True if registered, false otherwise

Reimplemented in Kratos::Factory< TClass >.

◆ Info()

virtual std::string Kratos::FactoryBase::Info ( ) const
inlinevirtual

Turn back information as a string.

Reimplemented in Kratos::Factory< TClass >.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::FactoryBase::KRATOS_CLASS_POINTER_DEFINITION ( FactoryBase  )

Pointer definition of FactoryBase.

◆ PrintData()

virtual void Kratos::FactoryBase::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

Reimplemented in Kratos::Factory< TClass >.

◆ PrintInfo()

virtual void Kratos::FactoryBase::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Reimplemented in Kratos::Factory< TClass >.


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