VR-Forces 4.0.4 Class Documentation
include/vrfutil/csvScenarioMergeProject.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2000 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: csvScenarioMergeProject.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 #ifndef DtCsvScenarioMergeProject_H_
00009 #define DtCsvScenarioMergeProject_H_
00010 
00013 
00014 #include "vrfutil/vrfutilDefines.h"
00015 
00016 #include "vrfutil/scenarioMergeProject.h"
00017 
00019 #include <deque>
00020 #include <string>
00021 
00023 #include <vlutil/vlFilename.h>
00024 
00031 class DT_DLL_vrfutil DtCsvScenarioMergeProject : 
00032    public DtScenarioMergeProject
00033 {
00034 public:
00035 
00037    DtCsvScenarioMergeProject();
00038 
00040    virtual ~DtCsvScenarioMergeProject();
00041 
00043    DtCsvScenarioMergeProject(
00044       const DtCsvScenarioMergeProject& orig);
00045 
00047    DtCsvScenarioMergeProject& operator=(
00048       const DtCsvScenarioMergeProject& orig);
00049 
00053    virtual DtScenarioMergeProject* clone() const;
00054 
00055 public:
00056 
00060    virtual void addScenarioPath(const DtFilename& filePath);
00061 
00066    virtual bool getScenarioPath(unsigned index, 
00067       DtFilename& filePath) const;
00068 
00071    virtual void clear();
00072 
00076    virtual void getIgnoreListPath(DtFilename& filePath) const;
00077    virtual void setIgnoreListPath(const DtFilename& filePath);
00078 
00084    virtual void getProjectFilePath(DtFilename& filePath) const;
00085    virtual void setProjectFilePath(const DtFilename& filePath);
00086 
00090    virtual bool interpretFields(std::deque<std::string>& line);
00091 
00092    
00095    virtual unsigned numScenarios() const;
00096 
00102    virtual bool readAndParseLine(FILE *fp,
00103       std::deque<std::string> &que) const;
00104 
00109    virtual bool readProjectFile();
00110 
00111 
00117    virtual bool readProjectFile(const DtFilename& filepath);
00118 
00122    virtual bool removeScenarioPath(const DtFilename& filePath);
00123 
00127    virtual void getMergeFile(DtFilename& filePath) const;
00128    virtual void setMergeFile(const DtFilename& folderPath);
00129 
00133    virtual bool writeProjectFile();
00134    virtual bool writeProjectFile(const DtFilename& folderPath);
00135 
00136 protected:
00137 
00138 
00139 protected:
00140 
00141 
00142 protected:
00143    
00144    DtFilename myIgnoreListFilePath;
00145    DtFilename myInProjectFilePath;
00146    DtFilename myOutScenario;
00147    std::deque<DtFilename> myScenarioFilePaths;
00148 
00149 };
00150 
00151 #endif
00152 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)