UnivCharsetDesc.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994, 1997 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef UnivCharsetDesc_INCLUDED
#define UnivCharsetDesc_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include <stddef.h>
#include "types.h"
#include "CharMap.h"
#include "RangeMap.h"
#include "Boolean.h"
#include "ISet.h"
#include "constant.h"
#ifdef SP_NAMESPACE
#endif
// Note that this is a count, as in the SGML declaration,
// rather than a maximum.
unsigned long count;
};
enum {
zero = 48,
A = 65,
a = 97,
tab = 9,
rs = 10,
re = 13,
space = 32,
exclamation = 33,
lessThan = 60,
greaterThan = 62
};
// Return 0 for no matches, 1 for 1, 2 for more than 1
const;
const;
return (n & (unsigned(1) << 31));
}
}
}
// For characters <= charMax.<
// For characters > charMax.
};
UnivCharsetDescIter(const UnivCharsetDesc &);
};
inline
{
}
else {
return 0;
else {
return 1;
}
}
}
inline
{
else {
return 0;
else {
return 1;
}
}
}
inline
{
}
inline
{
doneCharMap_ = 1;
else
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not UnivCharsetDesc_INCLUDED */