SimpleITK  1.0.1
sitkVersion.h
Go to the documentation of this file.
1 /*=========================================================================
2 *
3 * Copyright Insight Software Consortium
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18 #ifndef sitkVersion_h
19 #define sitkVersion_h
20 
21 #include "sitkCommon.h"
22 
23 namespace itk
24 {
25 
26 namespace simple
27 {
28 
33  {
34  public:
35  static unsigned int MajorVersion();
36  static unsigned int MinorVersion();
37  static unsigned int PatchVersion();
38  static unsigned int TweakVersion();
39  static const std::string &VersionString();
40  static const std::string &BuildDate();
41 
42 
43  static unsigned int ITKMajorVersion();
44  static unsigned int ITKMinorVersion();
45  static unsigned int ITKPatchVersion();
46  static const std::string &ITKVersionString();
47 
48  static const std::string &ExtendedVersionString();
49  std::string ToString() { return Version::ExtendedVersionString(); }
50  };
51 
52 }
53 }
54 
55 #endif
static const std::string & ExtendedVersionString()
#define SITKCommon_EXPORT
Definition: sitkCommon.h:41
Version info for SimpleITK.
Definition: sitkVersion.h:32
std::string ToString()
Definition: sitkVersion.h:49