Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Gram Struct Reference

Describes a data structure that is found in a raw data buffer. More...

#include <fret.h>


Data Fields

size_t id
BufferId bufferId
GramClass gClass
GramType type
double risk
size_t offset
size_t length
HashValue hash
size_t frequency


Detailed Description

Describes a data structure that is found in a raw data buffer.

Describes a data structure or pattern of bytes that is found in a Buffer of data or resulted from the analysis of multiple Buffers. Grams that reside in a specific Buffer have the BufferId of that Buffer, however Grams that are generic have a BufferId that is zero.


Field Documentation

BufferId Gram::bufferId
 

ID of the Buffer this Gram is from. Zero if this is a Generic Gram.

size_t Gram::frequency
 

Number of incidence of this Gram in all Buffers

GramClass Gram::gClass
 

Class of the Gram

HashValue Gram::hash
 

A hash of the Grams raw data.

size_t Gram::id
 

Unique ID for this Gram. Always > zero.

size_t Gram::length
 

Length of the Gram in bytes.

size_t Gram::offset
 

Offset of Gram from start of buffer.

double Gram::risk
 

Probability that the Gram occurred randomly within the Buffer. The lower this value, the more probable that the Gram is authentic. 0.0 <= risk <= 1.0 always.

GramType Gram::type
 

Type of the Gram


The documentation for this struct was generated from the following file:
Generated on Thu Jan 19 18:59:27 2006 for FRET by  doxygen 1.4.4