ivd_MediaChkStat_t Struct Reference
[G_new_group]

#include <ivd_mediachk.h>

List of all members.


Detailed Description

Definition at line 27 of file ivd_mediachk.h.


Public Member Functions

 ivd_MediaChkStat_t ()
void operator+= (const ivd_MediaChkStat_t &a_stat)

Public Attributes

Int64_t checked
Int64_t missingInFSC
Int64_t missingOnMedia
Int64_t mismatch
Int64_t ownerMismatch
Int64_t noNSC
Int64_t correctedNSC
Int64_t addToFSC

Friends

IVD_CMN_DECL_d ostream & operator<< (ostream &a_os, const ivd_MediaChkStat_t &a_stat)

Constructor & Destructor Documentation

ivd_MediaChkStat_t::ivd_MediaChkStat_t (  )  [inline]

Definition at line 28 of file ivd_mediachk.h.

00029         :
00030         checked(0),
00031         missingInFSC(0),
00032         missingOnMedia(0),
00033         mismatch(0),
00034         ownerMismatch(0),
00035         noNSC(0),
00036         correctedNSC(0),
00037         addToFSC(0)
00038     {
00039         // empty
00040     };


Member Function Documentation

void ivd_MediaChkStat_t::operator+= ( const ivd_MediaChkStat_t a_stat  )  [inline]

Definition at line 42 of file ivd_mediachk.h.

References addToFSC, checked, correctedNSC, mismatch, missingInFSC, missingOnMedia, noNSC, and ownerMismatch.

00042                                                       {
00043         checked        += a_stat.checked;
00044         missingInFSC   += a_stat.missingInFSC;
00045         missingOnMedia += a_stat.missingOnMedia;
00046         mismatch       += a_stat.mismatch;
00047         ownerMismatch  += a_stat.ownerMismatch;
00048         noNSC          += a_stat.noNSC;
00049         correctedNSC   += a_stat.correctedNSC;
00050         addToFSC       += a_stat.addToFSC;
00051     };


Friends And Related Function Documentation

IVD_CMN_DECL_d ostream& operator<< ( ostream &  a_os,
const ivd_MediaChkStat_t a_stat 
) [friend]

Definition at line 518 of file cmn_function.cpp.

00518                                                                                      {
00519 
00520     a_os << "\n    (FSC records:" << setw(8) << a_stat.checked;
00521 
00522     if (a_stat.addToFSC) {
00523         a_os << ", added to FSC: "     << a_stat.addToFSC;
00524     }
00525     else {
00526         a_os << ", missing in FSC: "   << a_stat.missingInFSC;
00527     }
00528 
00529     a_os << ", missing on media: " << a_stat.missingOnMedia
00530          << ", mismatch: "         << a_stat.mismatch;
00531 
00532     if (a_stat.correctedNSC) {
00533          a_os << ", added NSC rec.: "    << a_stat.correctedNSC;
00534     }
00535     else {
00536          a_os << ", missing NSC rec.: "      << a_stat.noNSC;
00537     }
00538 
00539     a_os << ")";
00540 
00541     return a_os ;
00542 }


Member Data Documentation

Definition at line 55 of file ivd_mediachk.h.

Referenced by fsc_VolumeCheck::Check(), operator+=(), and operator<<().

Definition at line 57 of file ivd_mediachk.h.

Referenced by operator+=(), operator<<(), and fsc_VolumeCheck::RestDataHandle().

Definition at line 59 of file ivd_mediachk.h.

Referenced by operator+=().

Definition at line 60 of file ivd_mediachk.h.

Referenced by fsc_VolumeCheck::Check(), operator+=(), and operator<<().

Definition at line 61 of file ivd_mediachk.h.

Referenced by fsc_VolumeCheck::Check(), operator+=(), and operator<<().

Definition at line 62 of file ivd_mediachk.h.

Referenced by fsc_VolumeCheck::Check(), operator+=(), and operator<<().


The documentation for this struct was generated from the following file:

Generated on Mon Feb 27 19:41:37 2012 for OPENARCHIVE by  doxygen 1.5.6