SimpleITK  1.2.4
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 #include <string>
23 #include <vector>
24 
25 
26 namespace itk
27 {
28 
29 namespace simple
30 {
31 
36  {
37  public:
38  static unsigned int MajorVersion();
39  static unsigned int MinorVersion();
40  static unsigned int PatchVersion();
41  static unsigned int TweakVersion();
42  static const std::string &VersionString();
43  static const std::string &BuildDate();
44 
45 
46  static unsigned int ITKMajorVersion();
47  static unsigned int ITKMinorVersion();
48  static unsigned int ITKPatchVersion();
49  static const std::string &ITKVersionString();
50 
51  /* \brief Return a vector of the names of the ITK modules enabled.
52  *
53  *
54  * This list of ITK modules dictates which ITK filers are enabled
55  * in SimpleITK during compilation. Optional, ITK modules enabled
56  * will be listed here, which enabled checking of features in
57  * SimpleITK.
58  */
59  static std::vector<std::string> ITKModulesEnabled();
60 
61  static const std::string &ExtendedVersionString();
62  std::string ToString() { return Version::ExtendedVersionString(); }
63  };
64 
65 }
66 }
67 
68 #endif
static const std::string & ExtendedVersionString()
#define SITKCommon_EXPORT
Definition: sitkCommon.h:41
Version info for SimpleITK.
Definition: sitkVersion.h:35
std::string ToString()
Definition: sitkVersion.h:62