Commit 63e2d229 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added getters for tsId,varId,vlistID

parent 78b587ac
......@@ -25,7 +25,7 @@
#include "cdoStream.h"
#include "cdo_options.h"
CdoStream::~CdoStream(){}
CdoStream::~CdoStream() {}
CdoStream::CdoStream(int p_id) : m_cdoStreamID(p_id)
{
isopen = false;
......@@ -43,6 +43,22 @@ CdoStream::getID()
return m_cdoStreamID;
}
int
CdoStream::getTsID()
{
return m_tsID;
}
int
CdoStream::getVarID()
{
return m_varID;
}
int
CdoStream::getVlistID()
{
return m_vlistID;
}
void
CdoStream::defVarList(int p_vlistID)
{
......
......@@ -62,6 +62,9 @@ public:
virtual size_t getNvals() = 0;
int getID();
int getTsID();
int getVarID();
int getVlistID();
int m_cdoStreamID; // aka the id of the pstream
int m_filetype;
......
Supports Markdown
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