Public Member Functions | Static Public Member Functions | Public Attributes

fsc_RedunCopyResult_t Struct Reference
[FSC]

#include <fsc_MediumStat.h>

List of all members.

Public Member Functions

 fsc_RedunCopyResult_t (ivd_MediaKey_t a_mediumKey, ivd_MedVolNum_t a_medVolNum, ivd_FileSize_t a_buffSize)
bool operator< (const fsc_RedunCopyResult_t &a_el) const

Static Public Member Functions

static int Compare (const void *a_st, const void *a_nd)

Public Attributes

ivd_MediaKey_t mediumKey
ivd_MedVolNum_t medVolNum
ivd_FileSize_t buffSize
UInt32_t unavailCopyNum

Detailed Description

Definition at line 79 of file fsc_MediumStat.h.


Constructor & Destructor Documentation

fsc_RedunCopyResult_t::fsc_RedunCopyResult_t ( ivd_MediaKey_t  a_mediumKey,
ivd_MedVolNum_t  a_medVolNum,
ivd_FileSize_t  a_buffSize 
) [inline]

Definition at line 80 of file fsc_MediumStat.h.

        :
        mediumKey(a_mediumKey),
        medVolNum(a_medVolNum),
        buffSize(a_buffSize),
        unavailCopyNum(0) {};


Member Function Documentation

static int fsc_RedunCopyResult_t::Compare ( const void *  a_st,
const void *  a_nd 
) [inline, static]

Definition at line 90 of file fsc_MediumStat.h.

References mediumKey, and medVolNum.

Referenced by operator<().

                                          {
        register int hi = reinterpret_cast<const fsc_RedunCopyResult_t*>(a_st)->mediumKey 
                        - reinterpret_cast<const fsc_RedunCopyResult_t*>(a_nd)->mediumKey;
        return hi != 0
               ? hi
               : reinterpret_cast<const fsc_RedunCopyResult_t*>(a_st)->medVolNum 
               - reinterpret_cast<const fsc_RedunCopyResult_t*>(a_nd)->medVolNum;
    };

Here is the caller graph for this function:

bool fsc_RedunCopyResult_t::operator< ( const fsc_RedunCopyResult_t a_el  )  const [inline]

Definition at line 99 of file fsc_MediumStat.h.

References Compare().

                                                            {
        return Compare(this, &a_el) < 0;
    };

Here is the call graph for this function:


Member Data Documentation

Definition at line 104 of file fsc_MediumStat.h.

Referenced by i_RedundantCopyJob_i::Prepare().

Definition at line 101 of file fsc_MediumStat.h.

Referenced by Compare(), and i_RedundantCopyJob_i::Prepare().

Definition at line 103 of file fsc_MediumStat.h.

Referenced by Compare(), and i_RedundantCopyJob_i::Prepare().

Definition at line 105 of file fsc_MediumStat.h.


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