ace::NGram::_frequency_type_u Union Reference

Union holds data for frequency and type altogether (to save place). More...

List of all members.

Public Attributes

size_t _frequency
 NGram frequency.
ngram_type_t _frequency_bits [sizeof(size_t)/sizeof(ngram_type_t)]
 The least item in array is used for storage of NGram type.


Detailed Description

Union holds data for frequency and type altogether (to save place).

Type bits are stored within most significant frequency bits, so one must use frequency mask to retrieve correct frequency value (the getter frequency() actually does it).

Definition at line 198 of file ngram.h.


The documentation for this union was generated from the following file:

Generated on Wed Jul 9 12:08:02 2008 for ACE by  doxygen 1.5.6