]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/binarydict.h
Use a common StatementKey structure for Loader and BinaryParser/Writer
[libs/datafile.git] / source / binarydict.h
diff --git a/source/binarydict.h b/source/binarydict.h
deleted file mode 100644 (file)
index 923ce39..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef MSP_DATAFILE_BINARYDICT_H_
-#define MSP_DATAFILE_BINARYDICT_H_
-
-#include <string>
-
-namespace Msp {
-namespace DataFile {
-
-/**
-Stores statement information for binary files.
-*/
-struct DictEntry
-{
-       std::string keyword;
-       std::string args;
-
-       DictEntry() { }
-       DictEntry(const std::string &k, const std::string &a): keyword(k), args(a) { }
-
-       bool operator<(const DictEntry &o) const
-       { return keyword<o.keyword || (keyword==o.keyword && args<o.args); }
-};
-
-} // namespace DataFile
-} // namespace Msp
-
-#endif