#include <Version.hpp>
Static Public Member Functions | |
static const char * | GetRootDir () |
static std::string | GetVersionString () |
static unsigned | GetMajorReleaseNumber () |
static unsigned | GetMinorReleaseNumber () |
static unsigned | GetRevisionNumber () |
static bool | IsWorkingCopyModified () |
static const char * | GetBuildTime () |
static const char * | GetCurrentTime () |
static const char * | GetBuilderUnameInfo () |
static const char * | GetBuildInformation () |
static const char * | GetCompilerType () |
static const char * | GetCompilerVersion () |
static const char * | GetCompilerFlags () |
static const char * | GetXsdVersion () |
static std::string | GetProvenanceString () |
Definition at line 37 of file Version.hpp.
static const char* ChasteBuildInfo::GetRootDir | ( | ) | [static] |
Referenced by HeartConfig::SetDefaultSchemaLocations().
static std::string ChasteBuildInfo::GetVersionString | ( | ) | [static] |
Get a string representation of the current Chaste version. This combines the information from GetMajorReleaseNumber, GetMinorReleaseNumber, and GetRevisionNumber.
Referenced by ExecutableSupport::WriteLibraryInfo().
static unsigned ChasteBuildInfo::GetMajorReleaseNumber | ( | ) | [static] |
Get the major number of the "current" Chaste release. If this is a development build, this will be the number of the last release.
static unsigned ChasteBuildInfo::GetMinorReleaseNumber | ( | ) | [static] |
Get the minor number of the "current" Chaste release. If this is a development build, this will be the number of the last release.
static unsigned ChasteBuildInfo::GetRevisionNumber | ( | ) | [static] |
Get the subversion revision number of the Chaste source tree.
If the file ReleaseVersion.txt exists in the directory given by GetRootDir, then we assume this is not a working copy, and read the version information from there.
Otherwise, we assume this is a checked-out tree, and call svnversion during the build. If it returns a range of versions, the upper end of this range is used. Whether the working copy is modified is ignored by this method; use IsWorkingCopyModified to test that.
Referenced by ExecutableSupport::ShowCopyright(), and ExecutableSupport::WriteProvenanceInfoFile().
static bool ChasteBuildInfo::IsWorkingCopyModified | ( | ) | [static] |
If this Chaste was built from a subversion working copy, then return whether there were local modifications. If it's not a working copy, return false.
Referenced by ExecutableSupport::WriteLibraryInfo().
static const char* ChasteBuildInfo::GetBuildTime | ( | ) | [static] |
Referenced by ExecutableSupport::ShowCopyright(), ExecutableSupport::WriteLibraryInfo(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetCurrentTime | ( | ) | [static] |
Get the current date and time, in the same format as GetBuildTime. The returned 'string' is statically allocated, so you don't need to free the memory. However, if you call this method again, the contents will be overwritten.
Referenced by ExecutableSupport::WriteLibraryInfo().
static const char* ChasteBuildInfo::GetBuilderUnameInfo | ( | ) | [static] |
Referenced by ExecutableSupport::ShowCopyright(), ExecutableSupport::WriteLibraryInfo(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetBuildInformation | ( | ) | [static] |
Get information about this build of Chaste: the build type used, whether libraries were used, and if so what kind.
Referenced by ExecutableSupport::ShowCopyright(), ExecutableSupport::WriteLibraryInfo(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetCompilerType | ( | ) | [static] |
Get the compiler type used to build (must be either 'intel' or 'gcc').
Referenced by ExecutableSupport::WriteLibraryInfo().
static const char* ChasteBuildInfo::GetCompilerVersion | ( | ) | [static] |
Get the compiler version number.
Referenced by ExecutableSupport::WriteLibraryInfo().
static const char* ChasteBuildInfo::GetCompilerFlags | ( | ) | [static] |
Get the compiler flags.
Referenced by ExecutableSupport::WriteLibraryInfo().
static const char* ChasteBuildInfo::GetXsdVersion | ( | ) | [static] |
Get the XSD binary version number.
Referenced by ExecutableSupport::WriteLibraryInfo().
static std::string ChasteBuildInfo::GetProvenanceString | ( | ) | [static] |
Get a single-line string representation of the provenance information to be attached to any files we generate. This includes the version of the Chaste code used, how and when it was built, and the current date and time.
Referenced by AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::AbstractHdf5Converter(), VtkMeshWriter< ELEMENT_DIM, SPACE_DIM >::AddProvenance(), ColumnDataWriter::CreateInfoFile(), Hdf5DataWriter::EndDefineMode(), Hdf5ToMeshalyzerConverter< ELEMENT_DIM, SPACE_DIM >::Write(), Hdf5ToCmguiConverter< ELEMENT_DIM, SPACE_DIM >::Write(), Hdf5ToCmguiConverter< ELEMENT_DIM, SPACE_DIM >::WriteCmguiScript(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteElementsAsFaces(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFacesAsEdges(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), CmguiMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), VertexMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesFooter(), AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMesh(), PostProcessingWriter< ELEMENT_DIM, SPACE_DIM >::WriteGenericFile(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteMetaFile(), CmguiMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteNodeFileHeader(), and PseudoEcgCalculator< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::WritePseudoEcg().