ContextWindow Struct Reference

Type holding context window settings. More...

#include <config.h>

List of all members.

Public Types

enum  Mode
 Context window mode - can be one of SENTENCE_MODE or WINDOW_MODE.

Public Member Functions

 ContextWindow (Mode m=SENTENCE_MODE, size_t r=0)
 Constructor inits struct with given values.
bool check (void)

Public Attributes

enum ContextWindow::Mode mode
 Context window mode - can be one of SENTENCE_MODE or WINDOW_MODE.
size_t radius
 Context window radius.


Detailed Description

Type holding context window settings.

Definition at line 131 of file config.h.


Constructor & Destructor Documentation

ContextWindow::ContextWindow ( Mode  m = SENTENCE_MODE,
size_t  r = 0 
) [inline]

Constructor inits struct with given values.

Parameters:
m Context window mode (default is SENTENCE_MODE).
r Context window radius (default is 0 - valid only in SENTENCE_MODE!).

Definition at line 145 of file config.h.


Member Function Documentation

bool ContextWindow::check ( void   )  [inline]

Returns:
True, if settings are valid.

Definition at line 148 of file config.h.


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

Generated on Thu Jul 17 23:44:09 2008 for ACE by  doxygen 1.5.6