diff options
author | fcolin | 2007-02-01 13:29:31 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:29:31 +0000 |
commit | afe2e7dfc1388cad991e8d38dda7d648c137aa52 (patch) | |
tree | 92bf63d2b2b34a805927aa294c7c51912638f66a /Bus/Ivy/IvyBinding.h | |
parent | 0be65f8a110ee9bf5da9c93e0bd5b5b62b3bad0c (diff) | |
parent | 04c263c314499e38d64af9d4a1aa5e2b8d9d5ead (diff) | |
download | ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.zip ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.gz ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.bz2 ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.xz |
modif struct svnwindows@3001
Diffstat (limited to 'Bus/Ivy/IvyBinding.h')
-rw-r--r-- | Bus/Ivy/IvyBinding.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Bus/Ivy/IvyBinding.h b/Bus/Ivy/IvyBinding.h deleted file mode 100644 index 44a87ee..0000000 --- a/Bus/Ivy/IvyBinding.h +++ /dev/null @@ -1,58 +0,0 @@ -/*
- * Ivy, C interface
- *
- * Copyright (C) 1997-2006
- * Centre d'Études de la Navigation Aérienne
- *
- * Bind syntax for extracting message comtent
- * using regexp or other
- *
- * Authors: François-Régis Colin <fcolin@cena.fr>
- *
- * $Id: ivybind.h,v 1.5.2.3 2006/04/21 15:51:55 fcolin Exp $
- *
- * Please refer to file version.h for the
- * copyright notice regarding this software
- */
-/* Module de gestion de la syntaxe des messages Ivy */
-#pragma once
-
-#define USE_PCRE
-
-#ifdef USE_PCRE
-#define OVECSIZE 60 /* must be multiple of 3, for regexp return */
-#include <pcre.h>
-#else /* we don't USE_PCRE */
-#define MAX_MSG_FIELDS 200
-#include "Regex.h"
-#endif /* USE_PCRE */
-
-class IvyBinding
-{
-public:
- /* Creation, Compilation */
- IvyBinding();
- ~IvyBinding();
-
- /* Mise en place des Filtrages */
- static void SetFilter( int argc, const char ** argv );
- static int Filter( const char *expression );
-
- /* Creation, Compilation */
- bool Compile( const char *expression, int *erroffset, const char **errmessage );
- /* Execution , extraction */
- int Exec( const char * message );
- void Match( const char *message, int argnum, int *arglen, const char **arg );
-
-private:
-#ifdef USE_PCRE
- pcre *regexp;
- pcre_extra *inspect;
- int nb_match;
- int ovector[OVECSIZE];
-#else /* we don't USE_PCRE */
- regex_t regexp; /* la regexp sous forme machine */
- regmatch_t match[MAX_MSG_FIELDS+1]; /* resultat du match */
-#endif /* USE_PCRE */
-
-};
\ No newline at end of file |