Qore Programming Language  0.8.3
include/qore/ReferenceArgumentHelper.h (4311)
00001 /* -*- mode: c++; indent-tabs-mode: nil -*- */
00002 /*
00003   ReferenceArgumentHelper.h
00004 
00005   Qore Programming Language
00006 
00007   Copyright 2003 - 2011 David Nichols
00008 
00009   This library is free software; you can redistribute it and/or
00010   modify it under the terms of the GNU Lesser General Public
00011   License as published by the Free Software Foundation; either
00012   version 2.1 of the License, or (at your option) any later version.
00013 
00014   This library is distributed in the hope that it will be useful,
00015   but WITHOUT ANY WARRANTY; without even the implied warranty of
00016   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017   Lesser General Public License for more details.
00018 
00019   You should have received a copy of the GNU Lesser General Public
00020   License along with this library; if not, write to the Free Software
00021   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00022 */
00023 
00024 #ifndef _QORE_REFERENCEARGUMENTHELPER_H
00025 
00026 #define _QORE_REFERENCEARGUMENTHELPER_H
00027 
00029 
00049 class ReferenceArgumentHelper {
00050    private:
00051       struct lvih_intern *priv;
00052 
00054       DLLLOCAL ReferenceArgumentHelper(const ReferenceArgumentHelper&);
00055 
00057       DLLLOCAL ReferenceArgumentHelper& operator=(const ReferenceArgumentHelper&);
00058 
00059    public:
00061 
00065       DLLEXPORT ReferenceArgumentHelper(AbstractQoreNode *val, ExceptionSink *xsink);
00066 
00068       DLLEXPORT ~ReferenceArgumentHelper();
00069 
00071 
00074       DLLEXPORT AbstractQoreNode *getArg() const;
00075 
00077 
00080       DLLEXPORT AbstractQoreNode *getOutputValue();
00081 };
00082 
00083 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines