CAM
bshr_string_mod Module Reference

Functions/Subroutines

integer function, public shr_string_countchar (str, char, rc)
 
character(len=len(str)) function, public shr_string_toupper (str)
 
character(len=len(str)) function, public shr_string_tolower (str)
 
character(len=len(str)) function, public shr_string_getparentdir (str)
 
integer function, public shr_string_lastindex (string, substr, rc)
 
integer function, public shr_string_endindex (string, substr, rc)
 
subroutine, public shr_string_leftalign (str, rc)
 
subroutine, public shr_string_alphanum (str, rc)
 
subroutine, public shr_string_betweentags (string, startTag, endTag, substr, rc)
 
subroutine, public shr_string_parsecftunit (string, unit, bdate, bsec, rc)
 
subroutine, public shr_string_clean (string, rc)
 
logical function, public shr_string_listisvalid (list, rc)
 
subroutine, public shr_string_listgetname (list, k, name, rc)
 
subroutine, public shr_string_listintersect (list1, list2, listout, rc)
 
subroutine, public shr_string_listunion (list1, list2, listout, rc)
 
subroutine, public shr_string_listdiff (list1, list2, listout, rc)
 
subroutine, public shr_string_listmerge (list1, list2, listout, rc)
 
subroutine, public shr_string_listappend (list, listadd, rc)
 
subroutine, public shr_string_listprepend (listadd, list, rc)
 
integer function, public shr_string_listgetindexf (string, fldStr)
 
subroutine, public shr_string_listgetindex (string, fldStr, kFld, print, rc)
 
integer function, public shr_string_listgetnum (str)
 
subroutine, public shr_string_listsetdel (cflag)
 
subroutine, public shr_string_listgetdel (del)
 
character(shr_kind_cxx) function, public shr_string_listcreatefield (numFields, strBase, bstatus)
 
subroutine, public shr_string_listaddsuffix (list, suffix, new_list)
 
subroutine, public shr_string_setabort (flag)
 
subroutine, public shr_string_setdebug (iFlag)
 
subroutine shr_string_abort (string)
 

Variables

character(len= *), parameter, private mod_filename = __FILE__
 
character(len=1), save listdel = ":"
 
character(len=2), save listdel2 = "::"
 
logical, save doabort = .true.
 
integer(shr_kind_in), save debug = 0
 

Function/Subroutine Documentation

◆ shr_string_abort()

subroutine bshr_string_mod::shr_string_abort ( character(*), intent(in), optional  string)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_alphanum()

subroutine, public bshr_string_mod::shr_string_alphanum ( character(*), intent(inout)  str,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_betweentags()

subroutine, public bshr_string_mod::shr_string_betweentags ( character(*), intent(in)  string,
character(*), intent(in)  startTag,
character(*), intent(in)  endTag,
character(*), intent(out)  substr,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_clean()

subroutine, public bshr_string_mod::shr_string_clean ( character(*), intent(inout)  string,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_countchar()

integer function, public bshr_string_mod::shr_string_countchar ( character(*), intent(in)  str,
character(1), intent(in)  char,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_endindex()

integer function, public bshr_string_mod::shr_string_endindex ( character(*), intent(in)  string,
character(*), intent(in)  substr,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_getparentdir()

character(len=len(str)) function, public bshr_string_mod::shr_string_getparentdir ( character(len=*), intent(in)  str)
Here is the call graph for this function:

◆ shr_string_lastindex()

integer function, public bshr_string_mod::shr_string_lastindex ( character(*), intent(in)  string,
character(*), intent(in)  substr,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_leftalign()

subroutine, public bshr_string_mod::shr_string_leftalign ( character(*), intent(inout)  str,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listaddsuffix()

subroutine, public bshr_string_mod::shr_string_listaddsuffix ( character(len=*), intent(in)  list,
character(len=*), intent(in)  suffix,
character(len=*), intent(out)  new_list 
)
Here is the call graph for this function:

◆ shr_string_listappend()

subroutine, public bshr_string_mod::shr_string_listappend ( character(*), intent(inout)  list,
character(*), intent(in)  listadd,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listcreatefield()

character(shr_kind_cxx) function, public bshr_string_mod::shr_string_listcreatefield ( integer(shr_kind_in), intent(in)  numFields,
character(len=*), intent(in)  strBase,
type(betr_status_type), intent(out)  bstatus 
)
Here is the call graph for this function:

◆ shr_string_listdiff()

subroutine, public bshr_string_mod::shr_string_listdiff ( character(*), intent(in)  list1,
character(*), intent(in)  list2,
character(*), intent(out)  listout,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_listgetdel()

subroutine, public bshr_string_mod::shr_string_listgetdel ( character(*), intent(out)  del)
Here is the call graph for this function:

◆ shr_string_listgetindex()

subroutine, public bshr_string_mod::shr_string_listgetindex ( character(*), intent(in)  string,
character(*), intent(in)  fldStr,
integer(shr_kind_in), intent(out)  kFld,
logical, intent(in), optional  print,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listgetindexf()

integer function, public bshr_string_mod::shr_string_listgetindexf ( character(*), intent(in)  string,
character(*), intent(in)  fldStr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listgetname()

subroutine, public bshr_string_mod::shr_string_listgetname ( character(*), intent(in)  list,
integer(shr_kind_in), intent(in)  k,
character(*), intent(out)  name,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listgetnum()

integer function, public bshr_string_mod::shr_string_listgetnum ( character(*), intent(in)  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listintersect()

subroutine, public bshr_string_mod::shr_string_listintersect ( character(*), intent(in)  list1,
character(*), intent(in)  list2,
character(*), intent(out)  listout,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_listisvalid()

logical function, public bshr_string_mod::shr_string_listisvalid ( character(*), intent(in)  list,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listmerge()

subroutine, public bshr_string_mod::shr_string_listmerge ( character(*), intent(in)  list1,
character(*), intent(in)  list2,
character(*), intent(out)  listout,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_listprepend()

subroutine, public bshr_string_mod::shr_string_listprepend ( character(*), intent(in)  listadd,
character(*), intent(inout)  list,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_listsetdel()

subroutine, public bshr_string_mod::shr_string_listsetdel ( character(len=1), intent(in)  cflag)
Here is the call graph for this function:

◆ shr_string_listunion()

subroutine, public bshr_string_mod::shr_string_listunion ( character(*), intent(in)  list1,
character(*), intent(in)  list2,
character(*), intent(out)  listout,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_parsecftunit()

subroutine, public bshr_string_mod::shr_string_parsecftunit ( character(*), intent(in)  string,
character(*), intent(out)  unit,
integer(shr_kind_in), intent(out)  bdate,
real(shr_kind_r8), intent(out)  bsec,
integer(shr_kind_in), intent(out), optional  rc 
)
Here is the call graph for this function:

◆ shr_string_setabort()

subroutine, public bshr_string_mod::shr_string_setabort ( logical, intent(in)  flag)
Here is the call graph for this function:

◆ shr_string_setdebug()

subroutine, public bshr_string_mod::shr_string_setdebug ( integer(shr_kind_in), intent(in)  iFlag)
Here is the call graph for this function:

◆ shr_string_tolower()

character(len=len(str)) function, public bshr_string_mod::shr_string_tolower ( character(len=*), intent(in)  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shr_string_toupper()

character(len=len(str)) function, public bshr_string_mod::shr_string_toupper ( character(len=*), intent(in)  str)
Here is the call graph for this function:

Variable Documentation

◆ debug

integer(shr_kind_in), save bshr_string_mod::debug = 0
private

◆ doabort

logical, save bshr_string_mod::doabort = .true.
private

◆ listdel

character(len=1), save bshr_string_mod::listdel = ":"
private

◆ listdel2

character(len=2), save bshr_string_mod::listdel2 = "::"
private

◆ mod_filename

character(len=*), parameter, private bshr_string_mod::mod_filename = __FILE__
private