Go to the documentation of this file.
23 #include "ParserEventGeneratorKit.h"
35 void STRNCPY(T& dest,
const std::string& src)
37 std::strncpy(dest, src.c_str(),
sizeof(dest));
45 #define ASSIGN(DEST, VALUE) DEST = (VALUE); DEST ## _valid = true
52 #define ASSIGN_STRNCPY(DEST, VALUE) STRNCPY(DEST, VALUE); DEST ## _valid = true
69 int mkTempFileName(
const char *tmpl,
char *buffer,
unsigned int size);
double ofxamount_to_double(const std::string ofxamount)
Convert OFX amount of money to double float.
time_t ofxdate_to_time_t(const std::string &ofxdate)
Convert a C++ string containing a time in OFX format to a C time_t.
std::string CharStringtostring(const SGMLApplication::CharString source)
Convert OpenSP CharString to a C++ STL string.
void STRNCPY(T &dest, const std::string &src)
void AppendCharStringtostring(const SGMLApplication::CharString source, std::string &dest)
Append an OpenSP CharString to an existing C++ STL string.
std::string strip_whitespace(const std::string para_string)
Sanitize a string coming from OpenSP.