w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RerrMsg.ipp
Go to the documentation of this file.
1// $Id: RerrMsg.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2011-02-06 359 1.1 use references in interface
8// 2011-01-15 356 1.0 Initial version
9// ---------------------------------------------------------------------------
10
15// all method definitions in namespace Retro
16namespace Retro {
17
18//------------------------------------------+-----------------------------------
20
21inline void RerrMsg::SetMeth(const std::string& meth)
22{
23 fMeth = meth;
24 return;
25}
26
27//------------------------------------------+-----------------------------------
29
30inline void RerrMsg::SetText(const std::string& text)
31{
32 fText = text;
33 return;
34}
35
36//------------------------------------------+-----------------------------------
38
39inline const std::string& RerrMsg::Meth() const
40{
41 return fMeth;
42}
43
44//------------------------------------------+-----------------------------------
46
47inline const std::string& RerrMsg::Text() const
48{
49 return fText;
50}
51
52//------------------------------------------+-----------------------------------
54
55inline RerrMsg::operator std::string() const
56{
57 return Message();
58}
59
60//------------------------------------------+-----------------------------------
66inline std::ostream& operator<<(std::ostream& os, const RerrMsg& obj)
67{
68 os << obj.Message();
69 return os;
70}
71
72} // end namespace Retro
FIXME_docs.
Definition: RerrMsg.hpp:25
std::string fText
message text
Definition: RerrMsg.hpp:59
void SetMeth(const std::string &meth)
FIXME_docs.
Definition: RerrMsg.ipp:21
const std::string & Meth() const
FIXME_docs.
Definition: RerrMsg.ipp:39
const std::string & Text() const
FIXME_docs.
Definition: RerrMsg.ipp:47
std::ostream & operator<<(std::ostream &os, const RerrMsg &obj)
ostream insertion operator.
Definition: RerrMsg.ipp:66
std::string fMeth
originating method
Definition: RerrMsg.hpp:58
void SetText(const std::string &text)
FIXME_docs.
Definition: RerrMsg.ipp:30
std::string Message() const
FIXME_docs.
Definition: RerrMsg.cpp:161
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47