SLIMMER
Public Member Functions | Static Public Attributes | Protected Attributes
SLIMMERConfig Class Reference

A class to handle file names for SLIMMER. More...

#include <SLIMMERConfig.h>

List of all members.

Public Member Functions

 SLIMMERConfig ()
 Constructor.
 ~SLIMMERConfig ()
 Destructor.
 SLIMMERConfig (const SLIMMERConfig &cfg)
 Copy constructor.
 SLIMMERConfig (const char *filename, unsigned int appendNum=0)
 Constructor, given the name of reconConfig file.
void LoadConfig (const char *filename, unsigned int appendNum=0)
void AppendNumToGiplName ()
void AppendNumToSdofName ()
void AppendNumToFdofName ()
void Init ()
void AppendTo (const vector< string > &in, const char *append, vector< string > &out)
void AppendToSdofName (const char *append)
 Append a c_string at the end of each sdof file name.
void AppendToSdofName (const string append)
 Append a string at the end of each sdof file name.
void AppendToFdofName (const char *append)
 Append a c_string at the end of each fdof file name.
void AppendToFdofName (const string append)
 Append a string at the end of each fdof file name.
void AppendToGiplName (const char *append)
 Append a c_string at the end of each gipl file name.
void AppendToGiplName (const string append)
 Append a string at the end of each gipl file name.
void AppendToConfigName (const char *append)
 Append a c_string at the end of config file name.
void AppendToConfigName (const string append)
 Append a string at the end of config file name.
void SetNewConfigFileName (const char *filename)
 Reset Config filename.
void SetNewConfigFileName (const string filename)
template<typename TStackSet >
int SaveSdofs (TStackSet &sss) const
 Save sdof.
int SaveConfigs ()
 Save ReconConfig and RViewConfig files.
int SaveReconConfig ()
int SaveLog (int argc, char **log)
int SequenceLog (char *jobName)
 Sequence log.
template<typename TStackSet >
int SaveStatus (TStackSet &sss, char *seq)
 Save SLIMMER status.
int SaveRViewConfigWithRef (const char *reffilename)
FILE * RVWOpen ()
int RVWAddVmode (FILE *fid=stderr)
int RVWAddSdof (FILE *fid=stderr)
int RVWAddDof (FILE *fid=stderr)
int RVWAddRef (FILE *fid, char *reffilename)
int RVWAddGipl (FILE *fid=stderr)
int RVWAddMask (FILE *fid=stderr)
int RVWClose (FILE *fid)
int SaveRViewConfigWithFormat (const char *reffilename=NULL)
template<typename TStackSet >
int SaveGipl (TStackSet &sss) const
string GetConfigFileName () const
 Config file name.
string GetConfigInFileName () const
 Config file name.
string GetMaskFileName () const
 Mask file name.
vector< string > GetgiplFileNames () const
 gipl file names
vector< string > GetsdofFileNames () const
 sdof file names
vector< string > GetfdofFileNames () const
 fdof file names

Static Public Attributes

static const char _versionID [] = "$Id: SLIMMERConfig.h,v 1.9 2012/02/15 02:52:26 kio Exp $"

Protected Attributes

string _mask
unsigned int _nStack
unsigned int _appendNum
string _append_out
string _append_in
string _config
vector< string > _gipl
vector< string > _fdof
vector< string > _sdof
string _config_out
vector< string > _gipl_out
vector< string > _fdof_out
vector< string > _sdof_out

Detailed Description

A class to handle file names for SLIMMER.

Author:
Kio Kim 2012
 All Classes Functions Variables Typedefs