Jpp
test_elongated_shower_pde
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JLang
JDefault.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JDEFAULT__
2
#define __JLANG__JDEFAULT__
3
4
/**
5
* \author mdejong
6
*/
7
8
namespace
JLANG {}
9
namespace
JPP {
using namespace
JLANG; }
10
11
namespace
JLANG {
12
13
14
/**
15
* Simple default class.
16
*/
17
template
<
class
T>
18
struct
JDefault
{
19
/**
20
* Get default value of template class.
21
*
22
* \return value
23
*/
24
static
const
T
&
getDefault
()
25
{
26
return
value
;
27
}
28
29
private
:
30
static
const
T
value
;
31
};
32
33
/**
34
*/
35
template
<
class
T>
36
const
T
JDefault<T>::value
;
37
}
38
39
#endif
JLANG::JDefault::getDefault
static const T & getDefault()
Get default value of template class.
Definition:
JDefault.hh:24
T
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Definition:
JCalibrateHeight.sh:61
JLANG::JDefault::value
static const T value
Definition:
JDefault.hh:30
JLANG::JDefault
Simple default class.
Definition:
JDefault.hh:18
Generated by
1.8.5