SimpleITK  
sitkVersion.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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::simple
27 {
28 
33 {
34 public:
35  static unsigned int
36  MajorVersion();
37  static unsigned int
38  MinorVersion();
39  static unsigned int
40  PatchVersion();
41  static unsigned int
42  TweakVersion();
43  static const std::string &
44  VersionString();
45  static const std::string &
46  BuildDate();
47 
48 
49  static unsigned int
50  ITKMajorVersion();
51  static unsigned int
52  ITKMinorVersion();
53  static unsigned int
54  ITKPatchVersion();
55  static const std::string &
56  ITKVersionString();
57 
58  /* \brief Return a vector of the names of the ITK modules enabled.
59  *
60  *
61  * This list of ITK modules dictates which ITK filers are enabled
62  * in SimpleITK during compilation. Optional, ITK modules enabled
63  * will be listed here, which enabled checking of features in
64  * SimpleITK.
65  */
66  static std::vector<std::string>
67  ITKModulesEnabled();
68 
69  static const std::string &
70  ExtendedVersionString();
71  std::string
73  {
75  }
76 };
77 
78 } // namespace itk::simple
79 
80 #endif
itk::simple::Version
Version info for SimpleITK.
Definition: sitkVersion.h:32
sitkCommon.h
SITKCommon_EXPORT
#define SITKCommon_EXPORT
Definition: sitkCommon.h:41
itk::simple::Version::ExtendedVersionString
static const std::string & ExtendedVersionString()
itk::simple::Version::ToString
std::string ToString()
Definition: sitkVersion.h:72
itk::simple
Definition: sitkAdditionalProcedures.h:28