implemented decmatch (artf724241)
[deliverable/titan.core.git] / core / String_struct.hh
index 5db39f66fafed7dcbbe5be78dc9b5fe14674e488..957d0eff48b059700a51a7b38c8a6d02c492fe62 100644 (file)
@@ -22,6 +22,7 @@
 #include "Charstring.hh"
 #include "Universal_charstring.hh"
 #include "Encdec.hh"
+#include "CharCoding.hh"
 
 /** Type of the reference counters in all structures. */
 typedef unsigned int ref_count_t;
@@ -89,4 +90,19 @@ struct TTCN_Buffer::buffer_struct {
   unsigned char data_ptr[sizeof(int)];
 };
 
+/** Structure for storing a decoded content matching mechanism 
+  * (for bitstrings, hexstrings, octetstrings and charstrings) */
+struct decmatch_struct {
+  ref_count_t ref_count;
+  Dec_Match_Interface* instance;
+};
+
+/** Structure for storing a decoded content matching mechanism for universal
+  * charstrings (also contains the character coding method) */
+struct unichar_decmatch_struct {
+  ref_count_t ref_count;
+  Dec_Match_Interface* instance;
+  CharCoding::CharCodingType coding;
+};
+
 #endif
This page took 0.039063 seconds and 5 git commands to generate.