18 #include <sys/types.h> 39 curAlignment (_alignment),
45 r.open (fileName.Str (), std::ios_base::out);
48 r <<
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">" << std::endl
49 <<
"<html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl
50 <<
"<head>" << std::endl
51 <<
"<title>" << title <<
"</title>" << std::endl
52 <<
"</head>" << std::endl
53 <<
"<body " << CurStyleStr () <<
">" << std::endl;
61 KKStr styleStr =
"stype=\"";
63 styleStr <<
"text-align:";
160 # ifdef USE_SECURE_FUNCS
161 sprintf_s (buff,
sizeof (buff),
"%f", right);
163 sprintf (buff,
"%f", right);
KKStr(kkint32 size)
Creates a KKStr object that pre-allocates space for 'size' characters.
HTMLReport &__cdecl endl(HTMLReport &htmlReport)
KKStr StrFormatInt64(kkint64 val, const char *mask)
HTMLReport(KKStr _fileName, KKStr _title, AlignmentType _alignment)
KKStr YYYY_MM_DD() const
Convert into displayable string; ex: 20011/05/17.
KKStr operator+(const char *right) const
void Append(const char *str)
unsigned __int32 kkuint32
KKStr & operator=(KKStr &&src)
const KKB::DateType & Date() const
KKStr(const KKStr &str)
Copy Constructor.
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
unsigned __int64 kkuint64
KKStr StrFormatInt(kkint32 val, const char *mask)
KKStr operator+(const KKStr &right) const
const char * Str() const
Returns a pointer to a ascii string.
HTMLReport &__cdecl operator<<(HTMLReport &htmlReport, HTMLReport &(__cdecl *mf)(HTMLReport &))
const TimeType & Time() const