Changeset 18089 for trunk/Mars/mfileio


Ignore:
Timestamp:
01/06/15 16:06:31 (10 years ago)
Author:
smueller
Message:
solving ticket #23, build tests have been performed on La Palma newdaq.
Location:
trunk/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars

  • trunk/Mars/mfileio/MMatrix.cc

    r18009 r18089  
    4343    fTitle = title ? title :
    4444    "Parameter container storing a vector of vectors to hold floating numbers";
     45       
     46    initialize();
     47}
     48//------------------------------------------------------------------------------
     49void MMatrix::initialize() {
     50    fDelimiter = ',';
     51    fComment = '#';
     52    fFileName = "";
     53    fLineNumber = 0;
    4554}
    4655//------------------------------------------------------------------------------
  • trunk/Mars/mfileio/MMatrix.h

    r18009 r18089  
    3232    // The deilimiter symbol which seperates the data chunks in the file to be
    3333    // parsed.
    34     char fDelimiter = ',';
     34    char fDelimiter;
    3535
    3636    // The data text file to be parsed may have comment lines which are
    3737    // indicated with the comment character.
    3838    // Leading whitespaces in front of the comment symbol are fine/ are ignored.
    39     char fComment = '#';
     39    char fComment;
    4040
    4141    // The fFileName can only be set using ReadFile( filename ). This is to make
    4242    // sure that the fFileName is always the one of the actual file parsed in.
    43     TString fFileName = "";
     43    TString fFileName;
    4444
    4545    // the line number worked on is stored here by the ReadFile( fileneam )
    4646    // function so that other functions as the pedantic_strtod() can provide
    4747    // an additional information in case they have to throw exceptions.
    48     unsigned int fLineNumber = 0;
     48    unsigned int fLineNumber;
     49
     50    void initialize();
    4951
    5052    // a more pedantic version of std::strtod()
  • trunk/Mars/mfileio/Makefile

    r18040 r18089  
    3333           MWriteFitsFile.cc \
    3434           MTopFitsGroup.cc \
    35            MFitsArray.cc
     35           MFitsArray.cc \
     36           MMatrix.cc
    3637
    3738############################################################
Note: See TracChangeset for help on using the changeset viewer.