MAIA
bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maia.h
Go to the documentation of this file.
1
// Copyright (C) 2024 The m-AIA AUTHORS
2
//
3
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4
//
5
// SPDX-License-Identifier: LGPL-3.0-only
6
7
// Copyright (C) 2024 The m-AIA AUTHORS
8
//
9
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
10
//
11
// SPDX-License-Identifier: LGPL-3.0-only
12
13
// Copyright (C) 2024 The m-AIA AUTHORS
14
//
15
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
16
//
17
// SPDX-License-Identifier: LGPL-3.0-only
18
19
20
// Copyright (C) 2024 The m-AIA AUTHORS
21
//
22
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
23
//
24
// SPDX-License-Identifier: LGPL-3.0-only
25
26
27
// Copyright (C) 2024 The m-AIA AUTHORS
28
//
29
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
30
//
31
// SPDX-License-Identifier: LGPL-3.0-only
32
33
34
#ifndef MAIN_H_
35
#define MAIN_H_
36
37
#include <streambuf>
38
44
class
NullBuffer
:
public
std::streambuf {
45
public
:
46
int
overflow
(
int
c)
override
{
return
c; }
47
};
48
49
class
MAIA
{
50
public
:
51
MAIA
(
int
argc,
char
** argv) :
m_argc
(argc),
m_argv
(argv) {}
52
53
int
run
();
54
55
private
:
56
NullBuffer
nullBuffer
;
57
58
int
m_argc
= 0;
59
char
**
m_argv
=
nullptr
;
60
};
61
62
#endif
// ifndef MAIN_H_
MAIA
Definition:
maia.h:49
MAIA::run
int run()
Main controlling method for MAIA. Calls everything else.
Definition:
maia.cpp:56
MAIA::nullBuffer
NullBuffer nullBuffer
Definition:
maia.h:56
MAIA::MAIA
MAIA(int argc, char **argv)
Definition:
maia.h:51
MAIA::m_argv
char ** m_argv
Definition:
maia.h:59
MAIA::m_argc
int m_argc
Definition:
maia.h:58
NullBuffer
Auxiliary class to allow creating versions of cout/cerr that only output under certain conditions.
Definition:
maia.h:44
NullBuffer::overflow
int overflow(int c) override
Definition:
maia.h:46
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
maia.h
Generated on Sun Jun 16 2024 23:45:08 for MAIA by
1.9.5