name: LanguageModelBNF

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_pr.a

#include <LanguageModelBNF.h>

LanguageModelBNF();
RuleModel& getRuleModel();
boolean setRuleModel(const RuleModel& rm);

quick start:

LanguageModelBNF lmbnf;
Sof lm_file_in;
Sof lm_file_out;
lm_file_in.open(L"lm_bnf_in.sof", File::READ_ONLY, File::TEXT);
lmbnf.read(lm_file_in);
lm_file_out.open(L"lm_bnf_out.sof", File::WRITE_ONLY, File::TEXT);
lmbnf.write(lm_file_out);
description:

LanguageModelBNF represents a LanguageModel in Backus-Naur Format (BNF). Currently this class is used as a container class for the BNF representation of grammars. BNF is used as an intermediate format when converting between certain formats. The BNF representation of a grammar is usually derived from the Augmented Backus-Naur Format (ABNF) which is represented by the class
LanguageModelABNF.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

other methods:

private methods: