#include <Version.hpp>
Static Public Member Functions | |
static std::string | GetLicenceText () |
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 const std::map < std::string, std::string > & | rGetProjectVersions () |
static std::string | GetProvenanceString () |
A class with static methods providing various information about this build of Chaste.
Definition at line 45 of file Version.hpp.
static const char* ChasteBuildInfo::GetBuilderUnameInfo | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo(), ExecutableSupport::ShowCopyright(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetBuildInformation | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo(), ExecutableSupport::ShowCopyright(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetBuildTime | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo(), ExecutableSupport::ShowCopyright(), and ExecutableSupport::WriteProvenanceInfoFile().
static const char* ChasteBuildInfo::GetCompilerFlags | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static const char* ChasteBuildInfo::GetCompilerType | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static const char* ChasteBuildInfo::GetCompilerVersion | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static const char* ChasteBuildInfo::GetCurrentTime | ( | ) | [static] |
static std::string ChasteBuildInfo::GetLicenceText | ( | ) | [static] |
Referenced by ExecutableSupport::ShowCopyright().
static unsigned ChasteBuildInfo::GetMajorReleaseNumber | ( | ) | [static] |
static unsigned ChasteBuildInfo::GetMinorReleaseNumber | ( | ) | [static] |
static std::string ChasteBuildInfo::GetProvenanceString | ( | ) | [static] |
Referenced by VtkMeshWriter< ELEMENT_DIM, SPACE_DIM >::AddProvenance(), ColumnDataWriter::CreateInfoFile(), Hdf5DataWriter::EndDefineMode(), Hdf5ToMeshalyzerConverter< ELEMENT_DIM, SPACE_DIM >::Write(), Hdf5ToCmguiConverter< ELEMENT_DIM, SPACE_DIM >::Write(), FibreWriter< DIM >::WriteAllAxi(), FibreWriter< DIM >::WriteAllOrtho(), Hdf5ToCmguiConverter< ELEMENT_DIM, SPACE_DIM >::WriteCmguiScript(), AbstractPerElementWriter< SPACE_DIM, SPACE_DIM, SPACE_DIM *SPACE_DIM >::WriteData(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteElementsAsFaces(), CmguiMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteElementsFileHeader(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFacesAsEdges(), XdmfMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), TrianglesMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), VertexMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFiles(), PottsMeshWriter< SPACE_DIM >::WriteFiles(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesFooter(), XdmfMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMesh(), PostProcessingWriter< ELEMENT_DIM, SPACE_DIM >::WriteGenericFileToMeshalyzer(), AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::WriteInfoFile(), MeshalyzerMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteMetaFile(), AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteNclFile(), CmguiMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteNodeFileHeader(), PseudoEcgCalculator< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::WritePseudoEcg(), and XdmfMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteXdmfMasterFile().
static unsigned ChasteBuildInfo::GetRevisionNumber | ( | ) | [static] |
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 const char* ChasteBuildInfo::GetRootDir | ( | ) | [static] |
Referenced by HeartConfig::SetDefaultSchemaLocations().
static std::string ChasteBuildInfo::GetVersionString | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static const char* ChasteBuildInfo::GetXsdVersion | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static bool ChasteBuildInfo::IsWorkingCopyModified | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().
static const std::map<std::string, std::string>& ChasteBuildInfo::rGetProjectVersions | ( | ) | [static] |
Referenced by ExecutableSupport::GetBuildInfo().