w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclOPtr.hpp
Go to the documentation of this file.
1// $Id: RtclOPtr.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2013-05-20 521 1.0.1 declare ctor(Tcl_Obj*) as explicit
8// 2011-02-20 363 1.0 Initial version
9// ---------------------------------------------------------------------------
10
11
16#ifndef included_Retro_RtclOPtr
17#define included_Retro_RtclOPtr 1
18
19#include "tcl.h"
20
21namespace Retro {
22
23 class RtclOPtr {
24 public:
25 RtclOPtr();
26 explicit RtclOPtr(Tcl_Obj* pobj);
27 RtclOPtr(const RtclOPtr& rhs);
28 ~RtclOPtr();
29
30 operator Tcl_Obj*() const;
31 bool operator !() const;
32 RtclOPtr& operator=(const RtclOPtr& rhs);
33 RtclOPtr& operator=(Tcl_Obj* pobj);
34
35 protected:
36 Tcl_Obj* fpObj;
37 };
38
39} // end namespace Retro
40
41// implementation all inline
42#include "RtclOPtr.ipp"
43
44#endif
Implemenation (inline) of RtclOPtr.
Definition: RtclOPtr.hpp:23
~RtclOPtr()
Destructor.
Definition: RtclOPtr.ipp:50
bool operator!() const
FIXME_docs.
Definition: RtclOPtr.ipp:66
Tcl_Obj * fpObj
pointer to tcl object
Definition: RtclOPtr.hpp:36
RtclOPtr()
Default constructor.
Definition: RtclOPtr.ipp:25
RtclOPtr & operator=(const RtclOPtr &rhs)
FIXME_docs.
Definition: RtclOPtr.ipp:74
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47