Jpp
software
JLang
JTitle.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JTITLE__
2
#define __JLANG__JTITLE__
3
4
#include <string>
5
6
7
/**
8
* \author mdejong
9
*/
10
11
namespace
JLANG
{}
12
namespace
JPP
{
using namespace
JLANG
; }
13
14
namespace
JLANG
{
15
16
/**
17
* Auxiliary class for title.
18
*/
19
class
JTitle
{
20
public
:
21
/**
22
* Default constructor.
23
*/
24
JTitle
()
25
{}
26
27
28
/**
29
* Constructor.
30
*
31
* \param title title
32
*/
33
JTitle
(
const
char
*
title
)
34
{
35
this->title =
title
;
36
}
37
38
39
/**
40
* Constructor.
41
*
42
* \param title title
43
*/
44
JTitle
(
const
std::string&
title
)
45
{
46
this->title =
title
;
47
}
48
49
50
/**
51
* Get title.
52
*
53
* \return title
54
*/
55
const
std::string&
getTitle
()
const
56
{
57
return
this->
title
;
58
}
59
60
61
/**
62
* Set title.
63
*
64
* \param title title
65
*/
66
void
setTitle
(
const
std::string&
title
)
67
{
68
this->title =
title
;
69
}
70
71
72
protected
:
73
std::string
title
;
74
};
75
}
76
77
#endif
JLANG::JTitle::setTitle
void setTitle(const std::string &title)
Set title.
Definition:
JTitle.hh:66
JLANG::JTitle::JTitle
JTitle()
Default constructor.
Definition:
JTitle.hh:24
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:37
JLANG::JTitle
Auxiliary class for title.
Definition:
JTitle.hh:19
JLANG::JTitle::JTitle
JTitle(const std::string &title)
Constructor.
Definition:
JTitle.hh:44
JLANG::JTitle::getTitle
const std::string & getTitle() const
Get title.
Definition:
JTitle.hh:55
JLANG::JTitle::JTitle
JTitle(const char *title)
Constructor.
Definition:
JTitle.hh:33
JLANG
Auxiliary classes and methods for language specific functionality.
Definition:
JAbstractClass.hh:10
JLANG::JTitle::title
std::string title
Definition:
JTitle.hh:73
Generated by
1.8.16