2 #ifndef _CLAVE_VARIABLE_H_
3 #define _CLAVE_VARIABLE_H_
9 /** Representa una clave de longitud variable.
11 * \todo Usar abreviaciones
13 class ClaveVariable : public Clave {
15 ClaveVariable (uchar *n);
16 ClaveVariable (const std::string &s);
17 virtual ~ClaveVariable () {}
20 uchar *ToArray () const;
21 Clave *Clone () const;
23 bool Abrev (ClaveVariable *c);
24 bool DesAbrev (ClaveVariable *c);
26 virtual bool operator < (const Clave &c) const;
27 virtual bool operator == (const Clave &c) const;
28 virtual operator std::string () const {
32 std::string abreviar(std::string &primera, std::string &actual, int &iguales);