Commit f63ec294 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

added constructors

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2145
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 38d2a070
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: sffheaders.h,v 1.8 2006-04-28 09:33:16 tforb Exp $
* $Id: sffheaders.h,v 1.9 2006-06-29 13:50:41 tforb Exp $
* \author Thomas Forbriger
* \date 18/07/2005
*
......@@ -29,6 +29,7 @@
*
* REVISIONS and CHANGES
* - 18/07/2005 V1.0 Thomas Forbriger
* - 29/06/2006 V1.1 added constructors
*
* ============================================================================
*/
......@@ -37,9 +38,9 @@
#ifndef TF_SFFHEADERS_H_VERSION
#define TF_SFFHEADERS_H_VERSION \
"TF_SFFHEADERS_H V1.0 "
"TF_SFFHEADERS_H V1.1"
#define TF_SFFHEADERS_H_CVSID \
"$Id: sffheaders.h,v 1.8 2006-04-28 09:33:16 tforb Exp $"
"$Id: sffheaders.h,v 1.9 2006-06-29 13:50:41 tforb Exp $"
#include<sffxx.h>
#include<tsxx/tsxx.h>
......@@ -113,6 +114,8 @@ namespace ts {
typedef typename Tbase::Tcoc Tcoc;
typedef typename Tbase::Ttimeseries Ttimeseries;
typedef typename Tbase::Tconsttimeseries Tconsttimeseries;
SFFTimeSeries(): Tbase() { }
SFFTimeSeries(const Tseries& s): Tbase(s) { }
void read(std::istream& is, const bool& verbose=false);
operator Twid2timeseries() const
{ return Twid2timeseries(this->series(), this->header.wid2()); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment