Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
init.h
Go to the documentation of this file.
1
6/*
7 * This file is part of Algorithms library toolkit.
8 * Copyright (C) 2017 Jan Travnicek (jan.travnicek@fit.cvut.cz)
9
10 * Algorithms library toolkit is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14
15 * Algorithms library toolkit is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19
20 * You should have received a copy of the GNU General Public License
21 * along with Algorithms library toolkit. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24#pragma once
25
26#include "fdstream.hpp"
27#include "iostream.hpp"
28
29namespace ext {
30
37class Init {
42 fdaccessor clog_fdaccessor;
43
48 fdstreambuf clog_fdstreambuf;
49public:
54 Init ( );
55
60 ~Init ( );
61};
62
63} /* namespace ext */
64
Class responsible for initialisation of std extensions and standard library changes.
Definition: init.h:37
Init()
Constructor of the initialisation class.
Definition: init.cpp:22
~Init()
Destructor of the initialisation class.
Definition: init.cpp:32
A class determining the used file descriptor from prefered (if available) and fallback file descripto...
Definition: fdstream.hpp:176
Class representing buffered stream designed to work on defined file descriptor instead of usual file ...
Definition: fdstream.hpp:76
Definition: sigHandler.cpp:20