FACT++  1.0
check_dns.cxx
Go to the documentation of this file.
1 #include <iostream>
2 #include <dic.hxx>
3 using namespace std;
4 
5 int main()
6 {
7  int version = 0;
8  DimCurrentInfo dns("DIS_DNS/VERSION_NUMBER",10,-1);
9 
10  version = dns.getInt();
11  if(version == -1)
12  cout << "DNS not running" << endl;
13  else
14  cout << "DNS running" << endl;
15  return(0);
16 }
STL namespace.
int main()
Definition: check_dns.cxx:5
int getInt()
Definition: dic.hxx:334
Changes for version
Definition: README_v11.txt:85