Leaked source code of windows server 2003
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.

96 lines
2.4 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: _reporter.inl
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  11. //
  12. // Gets all the 'Note' severity messages from the CBufferReporter.
  13. //
  14. //-----------------------------------------------------------------------------
  15. inline
  16. const MessageList &
  17. CBufferReporter::GetNotes(void)
  18. const
  19. {
  20. return m_bufReport.GetNotes();
  21. }
  22. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  23. //
  24. // Gets all the 'Warning' severity messages from the CBufferReporter.
  25. //
  26. //-----------------------------------------------------------------------------
  27. inline
  28. const MessageList &
  29. CBufferReporter::GetWarnings(void)
  30. const
  31. {
  32. return m_bufReport.GetWarnings();
  33. }
  34. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  35. //
  36. // Gets all the 'Error' severity messages from the CBufferReporter.
  37. //
  38. //-----------------------------------------------------------------------------
  39. inline
  40. const MessageList &
  41. CBufferReporter::GetErrors(void)
  42. const
  43. {
  44. return m_bufReport.GetErrors();
  45. }
  46. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  47. //
  48. // Gets all the 'Abort' severity messages from the CBufferReporter.
  49. //
  50. //-----------------------------------------------------------------------------
  51. inline
  52. const MessageList &
  53. CBufferReporter::GetAborts(void)
  54. const
  55. {
  56. return m_bufReport.GetAborts();
  57. }
  58. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  59. //
  60. // Returns ALL the messages issued to the CBufferReporter. The messages
  61. // are stored in chronological order.
  62. //
  63. //-----------------------------------------------------------------------------
  64. inline
  65. const MessageList &
  66. CBufferReporter::GetMessages(void)
  67. const
  68. {
  69. return m_bufReport.GetMessages();
  70. }
  71. //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  72. //
  73. // Returns the CBufferReport object.
  74. //
  75. //-----------------------------------------------------------------------------
  76. inline
  77. const CBufferReport &
  78. CBufferReporter::GetBufReport(void)
  79. const
  80. {
  81. return m_bufReport;
  82. }