SonarFileFactory Class Reference

A class to detemine the type of a Sonar file and generate the correct SonarFileRecordFactory. More...

#include <SonarFileFactory.h>

Collaboration diagram for SonarFileFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SonarFileFactory (const LPCTSTR &fqfn)
 Ctor.
virtual ~SonarFileFactory ()
 Dtor.
bool determined () const
 Whether, or not, the fqfn could be determined to be a known Sonar file.
SonarFileRecordFactoryrecordFactory () const
 Give the correct SonarFileRecordFactory for fqfn.

Detailed Description

A class to detemine the type of a Sonar file and generate the correct SonarFileRecordFactory.

An object of this class will examine a givern file and produce, if possible, a matching SonarFileRecordFactory.

Definition at line 19 of file SonarFileFactory.h.


Constructor & Destructor Documentation

SonarFileFactory::SonarFileFactory ( const LPCTSTR &  fqfn  ) 

Ctor.

Parameters:
fqfn The fully qualified file name.

virtual SonarFileFactory::~SonarFileFactory (  )  [virtual]

Dtor.


Member Function Documentation

bool SonarFileFactory::determined (  )  const

Whether, or not, the fqfn could be determined to be a known Sonar file.

Returns:
If the file type could be determined and is a Sonar file then return true.

SonarFileRecordFactory* SonarFileFactory::recordFactory (  )  const

Give the correct SonarFileRecordFactory for fqfn.

Returns:
The SonarFileRecordFactory. If fqfn is not a file from a known sonar then return zero.


The documentation for this class was generated from the following file: