You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.4 KiB
97 lines
2.4 KiB
//-----------------------------------------------------------------------------
|
|
//
|
|
// File: _reporter.inl
|
|
// Copyright (C) 1994-1997 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Gets all the 'Note' severity messages from the CBufferReporter.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const MessageList &
|
|
CBufferReporter::GetNotes(void)
|
|
const
|
|
{
|
|
return m_bufReport.GetNotes();
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Gets all the 'Warning' severity messages from the CBufferReporter.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const MessageList &
|
|
CBufferReporter::GetWarnings(void)
|
|
const
|
|
{
|
|
return m_bufReport.GetWarnings();
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Gets all the 'Error' severity messages from the CBufferReporter.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const MessageList &
|
|
CBufferReporter::GetErrors(void)
|
|
const
|
|
{
|
|
return m_bufReport.GetErrors();
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Gets all the 'Abort' severity messages from the CBufferReporter.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const MessageList &
|
|
CBufferReporter::GetAborts(void)
|
|
const
|
|
{
|
|
return m_bufReport.GetAborts();
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Returns ALL the messages issued to the CBufferReporter. The messages
|
|
// are stored in chronological order.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const MessageList &
|
|
CBufferReporter::GetMessages(void)
|
|
const
|
|
{
|
|
return m_bufReport.GetMessages();
|
|
}
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Returns the CBufferReport object.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
const CBufferReport &
|
|
CBufferReporter::GetBufReport(void)
|
|
const
|
|
{
|
|
return m_bufReport;
|
|
}
|