aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/cxx/parser/map.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsde/xsde/cxx/parser/map.cxx')
-rw-r--r--libxsde/xsde/cxx/parser/map.cxx35
1 files changed, 35 insertions, 0 deletions
diff --git a/libxsde/xsde/cxx/parser/map.cxx b/libxsde/xsde/cxx/parser/map.cxx
new file mode 100644
index 0000000..b21c41e
--- /dev/null
+++ b/libxsde/xsde/cxx/parser/map.cxx
@@ -0,0 +1,35 @@
+// file : xsde/cxx/parser/map.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#include <xsde/cxx/parser/map.hxx>
+
+namespace xsde
+{
+ namespace cxx
+ {
+ namespace parser
+ {
+ // parser_map
+ //
+ parser_map::
+ ~parser_map ()
+ {
+ }
+
+ // parser_map_impl
+ //
+ void parser_map_impl::
+ reset () const
+ {
+ for (hashmap::const_iterator i (map_.begin ()), e (map_.end ());
+ i != e; ++i)
+ {
+ parser_base* p = *static_cast<parser_base* const*> (*i);
+ p->_reset ();
+ }
+ }
+ }
+ }
+}