kim-api  2.1.4-git+v2.1.3-git-3-g4c859c7f.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Functions/Subroutines
kim_sem_ver_module Module Reference

Contains routines related to the KIM API Semantic Version. More...

Functions/Subroutines

recursive subroutine, public kim_get_sem_ver (version)
 Get the KIM API complete Semantic Version string. More...
 
recursive subroutine, public kim_is_less_than (lhs, rhs, is_less_than, ierr)
 Compare two Semantic Version strings. More...
 
recursive subroutine, public kim_parse_sem_ver (version, major, minor, patch, prerelease, build_metadata, ierr)
 Parse Semantic Version string into its six components. More...
 

Detailed Description

Contains routines related to the KIM API Semantic Version.

See also
KIM::SEM_VER
Since
2.0

Function/Subroutine Documentation

◆ kim_get_sem_ver()

recursive subroutine, public kim_sem_ver_module::kim_get_sem_ver ( character(len=*, kind=c_char), intent(out)  version)

Get the KIM API complete Semantic Version string.

See also
KIM::SEM_VER::GetSemVer, KIM_SEM_VER_GetSemVer
Since
2.0

Definition at line 58 of file kim_sem_ver_module.f90.

◆ kim_is_less_than()

recursive subroutine, public kim_sem_ver_module::kim_is_less_than ( character(len=*, kind=c_char), intent(in)  lhs,
character(len=*, kind=c_char), intent(in)  rhs,
integer(c_int), intent(out)  is_less_than,
integer(c_int), intent(out)  ierr 
)

Compare two Semantic Version strings.

See also
KIM::SEM_VER::IsLessThan, KIM_SEM_VER_IsLessThan
Since
2.0

Definition at line 82 of file kim_sem_ver_module.f90.

◆ kim_parse_sem_ver()

recursive subroutine, public kim_sem_ver_module::kim_parse_sem_ver ( character(len=*, kind=c_char), intent(in)  version,
integer(c_int), intent(out)  major,
integer(c_int), intent(out)  minor,
integer(c_int), intent(out)  patch,
character(len=*, kind=c_char), intent(out)  prerelease,
character(len=*, kind=c_char), intent(out)  build_metadata,
integer(c_int), intent(out)  ierr 
)

Parse Semantic Version string into its six components.

See also
KIM::SEM_VER::ParseSemVer, KIM_SEM_VER_ParseSemVer
Since
2.0

Definition at line 109 of file kim_sem_ver_module.f90.