Trie.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef Trie_INCLUDED
#define Trie_INCLUDED 1
#include <limits.h>
#include "types.h"
#include "Boolean.h"
#include "Vector.h"
#include "CopyOwner.h"
#include "Priority.h"
#ifdef SP_NAMESPACE
#endif
~Trie();
int tokenLength() const { return tokenLength_; }
Boolean includeBlanks() const {
}
int nCodes_;
unsigned short token_;
unsigned char tokenLength_;
};
BlankTrie() { }
// maximum number of blanks to scan (minimum is 0)
// length to add to tokenLengths in this trie (for those > 0).
int additionalLength() const { return additionalLength_; }
unsigned char additionalLength_;
};
inline
{
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not Trie_INCLUDED */