DictionaryHandle :: ParseFile - Parse file
The function allows parsing a file, which contains an expression according to the common ODABA syntax specification for OSI expressions and ODL data model definitions. The function returns a BNFData tree, which can be used for further evaluation. In case of an error the function produces an error in the trace file.
The application must destroy the BNFData object, when not being used anymore.
Return value: Expression in BNF format ( BNFData * )
An expression can be converted from a string into BNF format by calling the dictionary function ParseExpression ().
Implementation details
BNFData *
DictionaryHandle  :: ParseFile ( NPath &cpath, NString &symbol_w=NString::Null() )
- cpath - Complete file or directory path
- symbol_w
- Symbol name the passed expression corresponds to
The symbol name is a symbol name known in the BNF specification. The symbol name is passed as 0-terminated string.
Default: NString::Null()