File: ismrmrd_info.cpp

package info (click to toggle)
ismrmrd 1.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,576 kB
  • sloc: cpp: 6,439; ansic: 2,276; xml: 1,025; sh: 242; python: 72; makefile: 42
file content (12 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include "ismrmrd/version.h"

int main(int argc, char** argv)
{
  std::cout << "ISMRMRD VERSION INFO: " << std::endl;
  std::cout << "   -- Version:         " << ISMRMRD_VERSION_MAJOR << "." <<
        ISMRMRD_VERSION_MINOR << "." << ISMRMRD_VERSION_PATCH << std::endl;
  std::cout << "   -- SHA1:            " << ISMRMRD_GIT_SHA1_HASH << std::endl;
  std::cout << "   -- Dataset support: " << (ISMRMRD_DATASET_SUPPORT ? "yes" : "no") << std::endl;
  return 0;
}