|
Fortran SFF API to data I/O streams in C++
|
some helper functions (prototypes) More...
#include <string>#include <iostream>#include <libtime++.h>#include <sffxx.h>#include <fapidxx/fapidsff.h>

Go to the source code of this file.
Namespaces | |
| fapidxx | |
Macros | |
| #define | FAPIDXX_debug(C, N, M) |
| produce debug output More... | |
| #define | FAPIDXX_HELPER_H_VERSION "FAPIDXX_HELPER_H V1.4" |
Functions | |
| void | fapidxx::fillfstring (const std::string &s, char *fstring, ftnlen slen) |
| fill a Fortran string with a C++ string More... | |
| sff::FREE | fapidxx::freeblock (integer *nline, char *lines, ftnlen lines_len) |
| create C++ FREE block from Fortran FREE lines More... | |
| void | fapidxx::freeblock (const ::sff::FREE &free, integer *nline, char *lines, integer *lindim, integer *lenmax, ftnlen lines_len) |
| create Fortran FREE lines from C++ FREE bock More... | |
| float | fapidxx::maketanf (const libtime::TAbsoluteTime &time) |
| create the tanf value More... | |
| int | sff_helper_decode_wid2__ (char *wid2in, char *wid2out, ftnlen wid2in_len, ftnlen wid2out_len) |
| decode a WID2 character sequence More... | |
| libtime::TAbsoluteTime | fapidxx::SRCEdate (char *date, char *time, ftnlen date_len, ftnlen time_len) |
| create appropriate time string for SRCE line More... | |
| std::string | fapidxx::stringfromfstring (char *fstring, ftnlen slen) |
| create a C++ string from a Fortran string More... | |
| std::string | fapidxx::trimws (std::string s) |
| remove whitespace at begin and end of string More... | |
| std::string | fapidxx::trimws_end (std::string s) |
| remove whitespace at end of string More... | |
some helper functions (prototypes)
some helper functions (prototypes)
Copyright (c) 2010 by Thomas Forbriger (BFO Schiltach)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
REVISIONS and CHANGES
Definition in file helper.h.