You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
basics
output.hh
Go to the documentation of this file.
1
6
#ifndef Output_hh
7
#define Output_hh
8
9
#include <fstream>
10
#include <typeinfo>
11
12
namespace
concepts
{
13
14
// *********************************************************** ensureEnding **
15
20
std::string
ensureEnding
(
const
std::string& filename,
21
const
std::string
ending
);
22
34
std::string
demangle
(
const
char
* name);
35
42
template
<
class
T>
43
std::string
typeOf
(
const
T& t) {
44
45
return
demangle
(
typeid
(t).name());
46
}
47
55
template
<
class
TagT>
56
struct
getTypeOfObject
{
57
static
const
std::string name() {
58
return
demangle
(
typeid
(
TagT
()).name());
59
}
60
};
61
62
}
// namespace concepts
63
64
#endif
// Output_hh
concepts
Definition
pml_formula.h:16
concepts::typeOf
std::string typeOf(const T &t)
Definition
output.hh:43
concepts::demangle
std::string demangle(const char *name)
concepts::makeSet
Set< F > makeSet(uint n, const F &first,...)
Definition
set.hh:320
concepts::ensureEnding
std::string ensureEnding(const std::string &filename, const std::string ending)
concepts::getTypeOfObject
Definition
output.hh:56
Generated on Wed Sep 13 2023 21:06:17 for Concepts by
1.9.8