Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

dlgBatchCreation::Options Class Reference

Options for the dlgBatchCreation class. More...

#include <dlgBatchCreate.hpp>

List of all members.

Public Member Functions

dlgBatchCreation::Verbosity getVerbosity () const
 Gets the report's verbosity.

 Options (const bool iOvrCkFileWhenItExists=false, const bool iReplaceExtension=true, const dlgBatchCreation::Verbosity iVerbosity=vNormal)
 Facility constructor.

void setVerbosity (const dlgBatchCreation::Verbosity newVerbosity)
 Sets the report's verbosity.


Public Attributes

bool ovrCkFileWhenItExists
 If true, when a checksums' file already exists it is overwritten.

bool replaceExtension
 If true the name of the checksums' file will be made by replacing the extension of the source file with the extension of the type of the checksums' file.


Protected Attributes

dlgBatchCreation::Verbosity verbosity
 Report's Verbosity.


Detailed Description

Options for the dlgBatchCreation class.

Definition at line 171 of file dlgBatchCreate.hpp.


Constructor & Destructor Documentation

dlgBatchCreation::Options::Options const bool  iOvrCkFileWhenItExists = false,
const bool  iReplaceExtension = true,
const dlgBatchCreation::Verbosity  iVerbosity = vNormal
 

Facility constructor.

Parameters:
iOvrCkFileWhenItExists If true, when a checksums' file already exists it is overwritten. Otherwise the creation of the checksums' file is skipped.
iReplaceExtension If true the name of the checksums' file will be made by replacing the extension of the source file with the extension of the type of the checksums' file. Otherwise, the name of the checksums' file will be made by adding the extension of the type of checksums' file to the name of the source file.
iVerbosity Report's Verbosity.

Definition at line 86 of file dlgBatchCreate.cpp.

References Options(), ovrCkFileWhenItExists, replaceExtension, setVerbosity(), and verbosity.

Referenced by Options().


Member Function Documentation

dlgBatchCreation::Verbosity dlgBatchCreation::Options::getVerbosity  )  const
 

Gets the report's verbosity.

Returns:
The report's verbosity.

Definition at line 104 of file dlgBatchCreate.cpp.

References verbosity, and dlgBatchCreation::Verbosity.

Referenced by dlgBatchCreation::batchCreation(), and dlgBatchCreation::saveChecksumsInFiles().

void dlgBatchCreation::Options::setVerbosity const dlgBatchCreation::Verbosity  newVerbosity  ) 
 

Sets the report's verbosity.

If the given parameter has an invalid value, the value of the instance isn't changed.

Parameters:
newVerbosity The new verbosity of the report.

Definition at line 119 of file dlgBatchCreate.cpp.

References setVerbosity(), and verbosity.

Referenced by Options(), and setVerbosity().


Member Data Documentation

bool dlgBatchCreation::Options::ovrCkFileWhenItExists
 

If true, when a checksums' file already exists it is overwritten.

Otherwise the creation of the checksums' file is skipped.

Definition at line 181 of file dlgBatchCreate.hpp.

Referenced by dlgBatchCreation::batchCreation(), Options(), and dlgBatchCreation::saveChecksumsInFiles().

bool dlgBatchCreation::Options::replaceExtension
 

If true the name of the checksums' file will be made by replacing the extension of the source file with the extension of the type of the checksums' file.

Otherwise, the name of the checksums' file will be made by adding the extension of the type of checksums' file to the name of the source file.

Definition at line 190 of file dlgBatchCreate.hpp.

Referenced by dlgBatchCreation::getChecksumsFileNames(), and Options().

dlgBatchCreation::Verbosity dlgBatchCreation::Options::verbosity [protected]
 

Report's Verbosity.

Definition at line 174 of file dlgBatchCreate.hpp.

Referenced by getVerbosity(), Options(), and setVerbosity().


The documentation for this class was generated from the following files:
Generated on Sun May 30 13:38:04 2004 for wxChecksums by doxygen 1.3.7