Fortran SFF API to data I/O streams in C++
|
some helper functions (implementation) More...
#include <algorithm>
#include <sstream>
#include <cstring>
#include <fapidxx/helper.h>
#include <fapidxx/wid2container.h>
#include <fapidxx/error.h>
Go to the source code of this file.
Namespaces | |
fapidxx | |
Macros | |
#define | FAPIDXX_HELPER_CC_VERSION "FAPIDXX_HELPER_CC V1.3" |
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... | |
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 (implementation)
some helper functions (implementation)
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.cc.