41 #ifndef FAPIDXX_HELPER_H_VERSION 43 #define FAPIDXX_HELPER_H_VERSION \ 44 "FAPIDXX_HELPER_H V1.4" 64 std::string
trimws(std::string s);
67 float maketanf(
const libtime::TAbsoluteTime& time);
70 libtime::TAbsoluteTime
SRCEdate(
char *date,
char* time,
92 #define FAPIDXX_debug(C,N,M) \ 94 std::cerr << "DEBUG (" << N << ", " \ 95 << __FILE__ << " line #" << __LINE__ << "):" << std::endl \ 96 << " " << M << std::endl; \ 121 #endif // FAPIDXX_HELPER_H_VERSION (includeguard) This is the interface usually expected by Fortran programs linking to libsff.a (prototypes) ...
sff::FREE freeblock(integer *nline, char *lines, ftnlen lines_len)
create C++ FREE block from Fortran FREE lines
long int integer
Fortran integer type.
libtime::TAbsoluteTime SRCEdate(char *date, char *time, ftnlen date_len, ftnlen time_len)
create appropriate time string for SRCE line
void fillfstring(const std::string &s, char *fstring, ftnlen slen)
fill a Fortran string with a C++ string
std::string trimws(std::string s)
remove whitespace at begin and end of string
std::string trimws_end(std::string s)
remove whitespace at end of string
long int ftnlen
Fortran string size type.
std::string stringfromfstring(char *fstring, ftnlen slen)
create a C++ string from a Fortran string
float maketanf(const libtime::TAbsoluteTime &time)
create the tanf value
int sff_helper_decode_wid2__(char *wid2in, char *wid2out, ftnlen wid2in_len, ftnlen wid2out_len)
decode a WID2 character sequence