UltraScan III
List of all members | Static Public Member Functions
US_DataFiles Class Reference

Get output data file name. All functions are static. More...

#include "us_datafiles.h"

Static Public Member Functions

static QString get_filename (const QString &, const QString &, const QString &, const QString &, const QString &, bool &)
 Get an output data file name: existing or next available name. More...
 
static QString get_filename (const QString &, const QString &, const QString &, const QString &, const QString &)
 Get an output data file name. Version with no newFile return. More...
 

Detailed Description

Get output data file name. All functions are static.

Get a file name for a data file. If a file exists in which the GUID for the data is found, that file's name is used. Otherwise, a new file path is returned, based on a file name with the next available numeric part.

Definition at line 15 of file us_datafiles.h.

Member Function Documentation

QString US_DataFiles::get_filename ( const QString &  path,
const QString &  guid,
const QString &  lfchar,
const QString &  lkupTag,
const QString &  lkupAtt,
bool &  newFile 
)
static

Get an output data file name: existing or next available name.

Parameters
pathFull path to data files directory
guidGlobal ID of object to match
lfcharLeading file character ("M", "S", ...)
lkupTagLook-up XML tag ("model", "analyte", ...)
lkupAttLook-up Attribute ("guid", "modelGUID", ...)
newFileReference for returned flag if file is new
Returns
Full path name of file to which to write

Definition at line 15 of file us_datafiles.cpp.

QString US_DataFiles::get_filename ( const QString &  path,
const QString &  guid,
const QString &  lfchar,
const QString &  lkupTag,
const QString &  lkupAtt 
)
static

Get an output data file name. Version with no newFile return.

Parameters
pathFull path to data files directory
guidGlobal ID of object to match
lfcharLeading file character ("M", "S", ...)
lkupTagLook-up XML tag ("model", "analyte", ...)
lkupAttLook-up Attribute ("guid", "modelGUID", ...)
Returns
Full path name of file to which to write

Definition at line 96 of file us_datafiles.cpp.


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