Client :: dictionaryStatistics - Display dictionary statistics
The function displays dictionary statistics for the dictionary passed in sDatabasePath. The path must refer to a dictionary database. Dictionary statistics are printed into document, console or application output area.
The function throws an exception, when the client handle is not valid or when the dictionary passed in sDatabasePath refers to an invalid dictionary file.
Implementation overview
- Display dictionary statistics on output area or console
Client :: dictionaryStatistics ( sDatabasePath ) - Write dictionary statistics to target file
Client :: dictionaryStatistics ( sDatabasePath, sOutputPath )
Implementation details
-
Display dictionary statistics on output area or console
Client  :: dictionaryStatistics ( odaba::String &sDatabasePath )
Dictionary statistics are displayed on application output area (GUI application supporting an output area) or on console (console applications).
- sDatabasePath
- File path to database location
The database path refers to the location of the main database file (root base).
In order to pass no database path, an empty string ( String() ) has to be passed.
to list
- sDatabasePath
- File path to database location
-
Write dictionary statistics to target file
Client  :: dictionaryStatistics ( odaba::String &sDatabasePath, odaba::String &sOutputPath )
Dictionary statistics are written to the file passed in sOutputPath.
- sDatabasePath
- File path to database location
The database path refers to the location of the main database file (root base).
In order to pass no database path, an empty string ( String() ) has to be passed.
- sOutputPath
- Output file path
The string contains the output file path for the protocol to be written from the function. In order to write protocol to console, "con" can be passed as file path.
to list
- sDatabasePath
- File path to database location