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 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  /* \brief Return a vector of the names of the ITK modules enabled.
49  *
50  *
51  * This list of ITK modules dictates which ITK filers are enabled
52  * in SimpleITK during compilation. Optional, ITK modules enabled
53  * will be listed here, which enabled checking of features in
54  * SimpleITK.
55  */
56  static std::vector<std::string> ITKModulesEnabled();
57 
58  static const std::string &ExtendedVersionString();
59  std::string ToString() { return Version::ExtendedVersionString(); }
60  };
61 
62 }
63 
64 #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:59
itk::simple
Definition: sitkAdditionalProcedures.h:28