implemented decmatch (artf724241)
[deliverable/titan.core.git] / core / Charstring.hh
index 0387429e5d92dccae7b7550af572aa4508c95b8d..8b41a970205d3bd842bdc136d67961555da3c497 100644 (file)
@@ -348,6 +348,8 @@ extern CHARSTRING operator>>=(const char *string_value,
 
 // charstring template class
 
+struct unichar_decmatch_struct;
+
 class CHARSTRING_template : public Restricted_Length_Template {
 
   friend class UNIVERSAL_CHARSTRING_template;
@@ -367,6 +369,7 @@ private:
       boolean regexp_init;
       regex_t posix_regexp;
     } pattern_value;
+    unichar_decmatch_struct* dec_match;
   };
 
   void copy_template(const CHARSTRING_template& other_value);
@@ -422,9 +425,11 @@ public:
 
   void set_type(template_sel template_type, unsigned int list_length = 0);
   CHARSTRING_template& list_item(unsigned int list_index);
-
+  
   void set_min(const CHARSTRING& min_value);
   void set_max(const CHARSTRING& max_value);
+  
+  void set_decmatch(Dec_Match_Interface* new_instance);
 
   void log() const;
   void log_match(const CHARSTRING& match_value, boolean legacy = FALSE) const;
This page took 0.024346 seconds and 5 git commands to generate.