32 #include "../my_config.h"
47 label(
const label & ref) { copy_from(ref); };
48 const label & operator = (
const label & ref) { copy_from(ref);
return *
this; };
50 bool operator == (
const label & ref)
const;
51 bool operator != (
const label & ref)
const {
return ! ((*this) == ref); };
54 bool is_cleared()
const;
56 void generate_internal_filename();
58 void read(generic_file & f);
59 void dump(generic_file & f)
const;
61 void invert_first_byte() { val[0] = ~val[0]; };
66 U_I size()
const {
return LABEL_SIZE; };
67 char *data() {
return (
char *)&val; };
68 const char *data()
const {
return (
char *)&val; };
70 static U_I common_size() {
return LABEL_SIZE; };
73 static const U_I LABEL_SIZE = 10;
77 void copy_from(
const label & ref);
81 extern const label label_zero;