Commit 785941bb authored by Ralf Mueller's avatar Ralf Mueller 🎣
Browse files

add implementation of sinfo()

parent 05b4617f
......@@ -265,7 +265,12 @@ CdiVariable::CdiVariable(int streamid,int vlistid, int varid) {
CdiVariable::~CdiVariable(){ size = -1; }
void
CdiVariable::sinfo() { std::cout << "code:" << std::endl; }
CdiVariable::sinfo() {
std::cout << "name:" << name << std::endl;
std::cout << "longname:" << longname << std::endl;
std::cout << "units:" << units << std::endl;
std::cout << "code:" << code << std::endl;
}
double *
CdiVariable::getValuesAsPointer()
......
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