util.h File Reference

#include "rpc.h"
#include <QTextStream>
#include <QDateTime>

Go to the source code of this file.

Namespaces

namespace  dumont

Defines

#define TRIN(v_msg)   dumont::Trin( __FILE__, __LINE__, v_msg );
#define TRAC(v_msg)   dumont::Trac( __FILE__, __LINE__, v_msg );
#define TROT(v_msg)   dumont::Trot( __FILE__, __LINE__, v_msg );

Functions

QString dumont::prependZero (QString i_string, int i_count)
QString dumont::dq (QString v_string)
QString dumont::var (QString v_var, QString v_fld)
 Get a var Value.
QString dumont::var (QString v_var, QString v_fld, QString v_val)
 Set a var value.
QString dumont::delVar (QString v_var, QString v_fld)
 Delete a var.
QString dumont::packDate (QDate i_date)
QString dumont::packTime (QTime i_time)
QString dumont::packDateTime (QDateTime i_dateTime)
 Pack the Date/Time.
QString dumont::packDateTime (QDate i_date, QTime i_time)
QString dumont::unpackDateTime (QString i_packedDateTime)
QString dumont::guid (void)
QString dumont::formatOLtext (QString i_text)
QString dumont::formatOLdate (QDateTime i_dateTimeIn)
QString dumont::formatOLdate (QDate i_dateIn)
QString dumont::formatOLurl (QString i_filePath)
QString dumont::formatOLics (QString i_organizerEmail, QString i_summary, QDateTime i_dateStart, QDateTime i_dateEnd, QString i_location, QString i_uid, QString i_desc)
QString dumont::fixCase (QString i_value)
QString dumont::fixPhone (QString i_value)
bool dumont::phoneTooShort (void)
QString dumont::vbString (QString i_string)
void dumont::dumpString (const QString &i_string)
 Dump a string binary to debug.
void dumont::Trout (QString v_leader, QString v_file, QString v_line, QString v_msg)
 Format a message for the output window.
void dumont::Trout (QString v_leader, QString v_file, int v_line, QString v_msg)
 Format a message with numeric line number for the output window.
void dumont::Trin (QString v_file, int v_line, QString v_msg)
 TraceOn function - mark the beginning of a function.
void dumont::Trac (QString v_file, int v_line, QString v_msg)
void dumont::Trac (QString v_file, QString v_line, QString v_msg)
void dumont::Trot (QString v_file, int v_line, QString v_msg)
void dumont::ErrorMessage (HRESULT hr)


Define Documentation

#define TRAC ( v_msg   )     dumont::Trac( __FILE__, __LINE__, v_msg );

Definition at line 35 of file util.h.

#define TRIN ( v_msg   )     dumont::Trin( __FILE__, __LINE__, v_msg );

Definition at line 34 of file util.h.

#define TROT ( v_msg   )     dumont::Trot( __FILE__, __LINE__, v_msg );

Definition at line 36 of file util.h.





~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com