From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/lexsupport_8h-source.html | 158 +++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 docs/doxygen/nel/lexsupport_8h-source.html (limited to 'docs/doxygen/nel/lexsupport_8h-source.html') diff --git a/docs/doxygen/nel/lexsupport_8h-source.html b/docs/doxygen/nel/lexsupport_8h-source.html new file mode 100644 index 00000000..f4a8a45c --- /dev/null +++ b/docs/doxygen/nel/lexsupport_8h-source.html @@ -0,0 +1,158 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

lexsupport.h

Go 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_LEX_SUPPORT_H
+00026 #define NL_LEX_SUPPORT_H
+00027 
+00028 #include "nel/misc/types_nl.h"
+00029 
+00030 #ifndef PARSER_NO_REDEF_YYTABLE_H_
+00031 //#include "nel/ai/script/ytable.h"
+00032 #endif
+00033 
+00034 #ifdef NL_OS_WINDOWS
+00035 #pragma warning (disable: 4666)
+00036 #pragma warning (disable: 4786)
+00037 #pragma warning (disable: 4275)
+00038 #pragma warning (disable: 4275)
+00039 #pragma warning (disable: 4251)
+00040 #endif
+00041 
+00042 #include "nel/ai/agent/agent_method_def.h"
+00043 
+00044 #include <list>
+00045 #include <map>
+00046 #include <string>
+00047 
+00048 namespace NLAISCRIPT
+00049 {
+00050         
+00051         class iStack;   
+00052         
+00062         class CStringType: public std::string
+00063         {
+00064                 public:
+00065                         
+00066                         CStringType(): std::basic_string<char> ()
+00067                         {
+00068                         }
+00069 
+00070                         CStringType(const char *T): std::basic_string<char> (T)
+00071                         {
+00072                         }
+00073 
+00074                         CStringType(std::string T): std::basic_string<char> (T)
+00075                         {
+00076                         }
+00077                 
+00078         
+00080                         bool operator    <(const CStringType & a) const
+00081                         {
+00082                                 return compare(a) < 0;
+00083                         }
+00084 
+00085                         bool operator    >(const CStringType & a) const
+00086                         {
+00087                                 return compare(a) > 0;
+00088                         }
+00089         };
+00090 
+00091         //add a word to the dictionary.
+00092         void AddWordDico(const char *T, int tag);
+00094         int GetIdentType(char *CStringType);
+00096         void InitDico();
+00098         void EraseDico();
+00100         double GetNombre(char *CStringType,int Base);
+00101         
+00102 }
+00103 #endif
+
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1