fsc_RedunCopyResult_t Struct Reference
[FSC]

#include <fsc_MediumStat.h>

List of all members.


Detailed Description

Definition at line 65 of file fsc_MediumStat.h.


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

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 66 of file fsc_MediumStat.h.

00070         :
00071         mediumKey(a_mediumKey),
00072         medVolNum(a_medVolNum),
00073         buffSize(a_buffSize),
00074         unavailCopyNum(0) {};
        


Member Function Documentation

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

Definition at line 76 of file fsc_MediumStat.h.

References mediumKey, and medVolNum.

Referenced by operator<().

00077                                           {
00078         register int hi = reinterpret_cast<const fsc_RedunCopyResult_t*>(a_st)->mediumKey 
00079                         - reinterpret_cast<const fsc_RedunCopyResult_t*>(a_nd)->mediumKey;
00080         return hi != 0
00081                ? hi
00082                : reinterpret_cast<const fsc_RedunCopyResult_t*>(a_st)->medVolNum 
00083                - reinterpret_cast<const fsc_RedunCopyResult_t*>(a_nd)->medVolNum;
00084     };

Here is the caller graph for this function:

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

Definition at line 85 of file fsc_MediumStat.h.

References Compare().

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 87 of file fsc_MediumStat.h.

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

Definition at line 89 of file fsc_MediumStat.h.

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

Definition at line 90 of file fsc_MediumStat.h.

Referenced by i_RedundantCopyJob_i::Prepare().

Definition at line 91 of file fsc_MediumStat.h.


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

Generated on Mon Feb 27 19:24:28 2012 for OPENARCHIVE by  doxygen 1.5.6