implemented decmatch (artf724241)
[deliverable/titan.core.git] / core / Basetype.hh
index f18f4434c02a5a038b7243c7e02a773dbf17efca..a0e7eb3bb0cb28f982c38839553b7f20192f12d6 100644 (file)
@@ -1087,4 +1087,17 @@ public:
   }
 };
 
+/** Interface/base class for decoded content matching 
+  *
+  * For every decmatch template the compiler generates a new class that inherits
+  * this one and implements its virtual functions. An instance of the new class
+  * is stored in the template object, which calls the appropriate virtual
+  * functions when the template object's match() or log() functions are called. */
+class Dec_Match_Interface {
+public:
+  virtual boolean match(TTCN_Buffer&) const = 0;
+  virtual void log() const = 0;
+  virtual ~Dec_Match_Interface() {}
+};
+
 #endif
This page took 0.025175 seconds and 5 git commands to generate.