df_TCMMediaVolume_t Struct Reference
[IVD Data format.]

#include <df_types.h>

Collaboration diagram for df_TCMMediaVolume_t:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 605 of file df_types.h.


Public Member Functions

 df_TCMMediaVolume_t ()
 Time of last init/last reorg.
 ~df_TCMMediaVolume_t ()
void NetToHost ()
 In-place conversion to host format.
void HostToNet ()
 In-place conversion to net format.
void Erase ()
 Erase contents.

Public Attributes

UInt32_t flags
UInt32_t blockSize
 Same as on-tape flags (system volume, ...) + a few additional.
UInt8_t reserved1 [8]
 block size that is used on this media volume
cmn_UUID_t volID
cmn_UUID_t poolID
cmn_UUID_t partID
UInt32_t numAccesses
UInt32_t numAppends
UInt32_t numOverwrites
UInt8_t reserved2 [4]
 Increased at init and each of the reorgs.
ivd_Time_t initTime
ivd_Time_t timeWrite
ivd_Time_t timeAccess
ivd_Time_t timeOverwrite

Constructor & Destructor Documentation

df_TCMMediaVolume_t::df_TCMMediaVolume_t (  ) 

Time of last init/last reorg.

Definition at line 66 of file df_mic.cpp.

References Erase().

00066                                          {
00067     Erase();
00068 }

Here is the call graph for this function:

df_TCMMediaVolume_t::~df_TCMMediaVolume_t (  )  [inline]

Definition at line 622 of file df_types.h.

00622                            {
00623     };


Member Function Documentation

void df_TCMMediaVolume_t::NetToHost (  ) 

In-place conversion to host format.

Definition at line 82 of file df_mic.cpp.

References blockSize, flags, initTime, ntoh(), numAccesses, numAppends, numOverwrites, timeAccess, timeOverwrite, and timeWrite.

Referenced by bea_MediumMemory::GetVolumeRecord(), and bea_MamMemory::Read().

00082                                      {
00083     this->flags = ntoh(flags);
00084     this->blockSize = ntoh(blockSize);
00085     this->numAccesses = ntoh(numAccesses);
00086     this->numAppends = ntoh(numAppends);
00087     this->numOverwrites = ntoh(numOverwrites);
00088     this->initTime = ntoh(initTime);
00089     this->timeWrite = ntoh(timeWrite);
00090     this->timeAccess = ntoh(timeAccess);
00091     this->timeOverwrite = ntoh(timeOverwrite);
00092 }

Here is the call graph for this function:

Here is the caller graph for this function:

void df_TCMMediaVolume_t::HostToNet (  ) 

In-place conversion to net format.

Definition at line 70 of file df_mic.cpp.

References blockSize, flags, hton(), initTime, numAccesses, numAppends, numOverwrites, timeAccess, timeOverwrite, and timeWrite.

Referenced by Mamwvolinfo().

00070                                      {
00071     this->flags = hton(flags);
00072     this->blockSize = hton(blockSize);
00073     this->numAccesses = hton(numAccesses);
00074     this->numAppends = hton(numAppends);
00075     this->numOverwrites = hton(numOverwrites);
00076     this->initTime = hton(initTime);
00077     this->timeWrite = hton(timeWrite);
00078     this->timeAccess = hton(timeAccess);
00079     this->timeOverwrite = hton(timeOverwrite);
00080 }

Here is the call graph for this function:

Here is the caller graph for this function:

void df_TCMMediaVolume_t::Erase (  ) 

Erase contents.

Definition at line 94 of file df_mic.cpp.

Referenced by df_TCMMediaVolume_t().

00094                                  {
00095     memset(this, 0, sizeof(*this));
00096 }

Here is the caller graph for this function:


Member Data Documentation

Same as on-tape flags (system volume, ...) + a few additional.

Definition at line 607 of file df_types.h.

Referenced by HostToNet(), Mamwvolinfo(), NetToHost(), bea_Volume::ReadVolInfoFromMediumMem(), and bea_Volume::UpdateMediumMem().

block size that is used on this media volume

Definition at line 608 of file df_types.h.

Increased at init and each of the reorgs.

Definition at line 615 of file df_types.h.

Definition at line 616 of file df_types.h.

Referenced by HostToNet(), Mamwvolinfo(), NetToHost(), and bea_Volume::UpdateMediumMem().


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

Generated on Mon Feb 27 19:13:43 2012 for OPENARCHIVE by  doxygen 1.5.6