| Home | nevrax.com |
|
libcode.hGo to the documentation of this file.00001
00007 /* Copyright, 2000 Nevrax Ltd.
00008 *
00009 * This file is part of NEVRAX NEL.
00010 * NEVRAX NEL is free software; you can redistribute it and/or modify
00011 * it under the terms of the GNU General Public License as published by
00012 * the Free Software Foundation; either version 2, or (at your option)
00013 * any later version.
00014
00015 * NEVRAX NEL is distributed in the hope that it will be useful, but
00016 * WITHOUT ANY WARRANTY; without even the implied warranty of
00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018 * General Public License for more details.
00019
00020 * You should have received a copy of the GNU General Public License
00021 * along with NEVRAX NEL; see the file COPYING. If not, write to the
00022 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00023 * MA 02111-1307, USA.
00024 */
00025 #ifndef NL_LIB_CODE_H
00026 #define NL_LIB_CODE_H
00027
00028 namespace NLAISCRIPT
00029 {
00030
00040 class CCallPrint: public NLAIAGENT::IObjectIA
00041 {
00042
00043 public:
00044 static const NLAIC::CIdentType IdCallPrint;
00045 static NLAIC::IIO *inputOutput;
00046
00047 public:
00048
00049 CCallPrint()
00050 {
00051 }
00052
00053
00055
00056 virtual sint32 isClassInheritedFrom(const NLAIAGENT::IVarName &) const
00057 {
00058 return 0;
00059 }
00060 virtual NLAIAGENT::tQueue isMember(const NLAIAGENT::IVarName *className,const NLAIAGENT::IVarName *mathodName,const NLAIAGENT::IObjectIA &) const;
00061 virtual NLAIAGENT::IObjectIA::CProcessResult runMethodeMember(sint32 heritance, sint32 index, NLAIAGENT::IObjectIA *);
00062 virtual NLAIAGENT::IObjectIA::CProcessResult runMethodeMember(sint32 index,NLAIAGENT::IObjectIA *);
00063
00064 const NLAIAGENT::IObjectIA::CProcessResult &run(){return NLAIAGENT::IObjectIA::ProcessRun;}
00065 bool isEqual(const NLAIAGENT::IBasicObjectIA &a) const{ return true;}
00067
00068
00070 NLAIAGENT::IObjectIA::CProcessResult format(const NLAIAGENT::IBaseGroupType *g);
00072 NLAIAGENT::IObjectIA::CProcessResult printList(const NLAIAGENT::IBaseGroupType *g);
00073
00075
00076 const NLAIC::IBasicType *clone() const
00077 {
00078 NLAIC::IBasicType *x = new CCallPrint();
00079 return x;
00080 }
00081
00082 const NLAIC::IBasicType *newInstance() const
00083 {
00084 return clone();
00085 }
00086
00087 const NLAIC::CIdentType &getType() const
00088 {
00089 return IdCallPrint;
00090 }
00091
00092 virtual void getDebugString(std::string &t) const
00093 {
00094 t = "Print()";
00095 }
00096
00097 void save(NLMISC::IStream &os)
00098 {
00099
00100 }
00101
00102 void load(NLMISC::IStream &is)
00103 {
00104 }
00106
00107 virtual ~CCallPrint()
00108 {
00109 }
00110 };
00111
00112 void initExternalLib();
00113 }
00114 #endif
|
||||||||||||||||||||||||