Public Member Functions | Public Attributes | Friends

ivd_MediaChkStat_t Struct Reference
[G_new_group]

#include <ivd_mediachk.h>

List of all members.

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)

Detailed Description

Definition at line 41 of file ivd_mediachk.h.


Constructor & Destructor Documentation

ivd_MediaChkStat_t::ivd_MediaChkStat_t (  )  [inline]

Definition at line 42 of file ivd_mediachk.h.

        :
        checked(0),
        missingInFSC(0),
        missingOnMedia(0),
        mismatch(0),
        ownerMismatch(0),
        noNSC(0),
        correctedNSC(0),
        addToFSC(0)
    {
        // empty
    };


Member Function Documentation

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

Definition at line 56 of file ivd_mediachk.h.

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

                                                      {
        checked        += a_stat.checked;
        missingInFSC   += a_stat.missingInFSC;
        missingOnMedia += a_stat.missingOnMedia;
        mismatch       += a_stat.mismatch;
        ownerMismatch  += a_stat.ownerMismatch;
        noNSC          += a_stat.noNSC;
        correctedNSC   += a_stat.correctedNSC;
        addToFSC       += a_stat.addToFSC;
    };


Friends And Related Function Documentation

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

Definition at line 532 of file cmn_function.cpp.

                                                                                     {

    a_os << "\n    (FSC records:" << setw(8) << a_stat.checked;

    if (a_stat.addToFSC) {
        a_os << ", added to FSC: "     << a_stat.addToFSC;
    }
    else {
        a_os << ", missing in FSC: "   << a_stat.missingInFSC;
    }

    a_os << ", missing on media: " << a_stat.missingOnMedia
         << ", mismatch: "         << a_stat.mismatch;

    if (a_stat.correctedNSC) {
         a_os << ", added NSC rec.: "    << a_stat.correctedNSC;
    }
    else {
         a_os << ", missing NSC rec.: "      << a_stat.noNSC;
    }

    a_os << ")";

    return a_os ;
}


Member Data Documentation

Definition at line 76 of file ivd_mediachk.h.

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

Definition at line 69 of file ivd_mediachk.h.

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

Definition at line 75 of file ivd_mediachk.h.

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

Definition at line 71 of file ivd_mediachk.h.

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

Definition at line 74 of file ivd_mediachk.h.

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

Definition at line 73 of file ivd_mediachk.h.

Referenced by operator+=().


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