예제 #1
0
KoodevStopwatch::KoodevStopwatch(const char *msg/*=NULL*/, bool ignoreZeroDump/*=false*/, bool autostart/*=true*/, bool dumpOnDestroy/*=true*/, bool nanos/*=false*/)
    : m_started(false)
    , m_measureNanos(nanos)
	, m_dumpOnDestroy(dumpOnDestroy)
    , m_ignoreZeroDump(ignoreZeroDump)
{
    initDefaultMessage();
    setMessage(msg);
    if (autostart)
        start();
}
예제 #2
0
IxValidator::IxValidator(IxValidator::validator_type type) : QxPropertyBag(), m_type(type), m_pDataMember(NULL) { initDefaultMessage(); }