OpenFOAM
10
The OpenFOAM Foundation
functionNameI.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2019 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
\*---------------------------------------------------------------------------*/
25
26
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
27
28
inline
Foam::functionName::functionName
()
29
:
30
word
()
31
{}
32
33
34
inline
Foam::functionName::functionName
(
const
functionName
& v)
35
:
36
word
(v)
37
{}
38
39
40
inline
Foam::functionName::functionName
(
const
word
& w)
41
:
42
word
(w)
43
{}
44
45
46
inline
Foam::functionName::functionName
47
(
48
const
string
& s,
49
const
bool
doStripInvalid
50
)
51
:
52
word
(s, doStripInvalid)
53
{}
54
55
56
inline
Foam::functionName::functionName
57
(
58
const
std::string& s,
59
const
bool
doStripInvalid
60
)
61
:
62
word
(s, doStripInvalid)
63
{}
64
65
66
inline
Foam::functionName::functionName
67
(
68
const
char
* s,
69
const
bool
doStripInvalid
70
)
71
:
72
word
(s, doStripInvalid)
73
{}
74
75
76
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
77
78
inline
void
Foam::functionName::operator=
(
const
functionName
& s)
79
{
80
word::operator=
(s);
81
}
82
83
84
inline
void
Foam::functionName::operator=
(
const
word
& s)
85
{
86
word::operator=
(s);
87
}
88
89
90
inline
void
Foam::functionName::operator=
(
const
string
& s)
91
{
92
word::operator=
(s);
93
}
94
95
96
inline
void
Foam::functionName::operator=
(
const
std::string& s)
97
{
98
word::operator=
(s);
99
}
100
101
102
inline
void
Foam::functionName::operator=
(
const
char
* s)
103
{
104
word::operator=
(s);
105
}
106
107
108
// ************************************************************************* //
Foam::word::operator=
void operator=(const word &)
Definition:
wordI.H:141
Foam::word::word
word()
Construct null.
Definition:
wordI.H:59
Foam::functionName
A functionName is a word starting with '#'.
Definition:
functionName.H:57
Foam::word
A class for handling words, derived from string.
Definition:
word.H:59
Foam::functionName::functionName
functionName()
Construct null.
Definition:
functionNameI.H:28
Foam::functionName::operator=
void operator=(const functionName &)
Definition:
functionNameI.H:78
src
OpenFOAM
primitives
strings
functionName
functionNameI.H
Generated by
1.8.13