+bool ClaveFija::operator == (const Clave &c) const
+{
+ return data == ((ClaveFija&)c).data;
+}
+
+uchar *ClaveFija::ToRaw (uint &size) const
+{
+ std::stringstream ss;
+
+ ss << "[";
+ ss << data;
+ ss << "]";
+ ss << "[";
+ ss << block_data;
+ ss << "]";
+
+ std::string s = ss.str ();
+
+ uchar *out = new uchar[s.size ()];
+ memcpy (out, s.c_str (), s.size ());
+
+ size = s.size ();
+ return out;
+}
+