company logo

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

Implementation details

  1. 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.

  2. to list
  3. 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.

  4. to list