Public Member Functions | Public Attributes

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.

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

Detailed Description

Definition at line 619 of file df_types.h.


Constructor & Destructor Documentation

df_TCMMediaVolume_t::df_TCMMediaVolume_t (  ) 

Time of last init/last reorg.

Definition at line 80 of file df_mic.cpp.

References Erase().

                                         {
    Erase();
}

Here is the call graph for this function:

df_TCMMediaVolume_t::~df_TCMMediaVolume_t (  )  [inline]

Definition at line 636 of file df_types.h.

                           {
    };


Member Function Documentation

void df_TCMMediaVolume_t::Erase (  ) 

Erase contents.

Definition at line 108 of file df_mic.cpp.

Referenced by df_TCMMediaVolume_t().

                                 {
    memset(this, 0, sizeof(*this));
}

Here is the caller graph for this function:

void df_TCMMediaVolume_t::HostToNet (  ) 

In-place conversion to net format.

Definition at line 84 of file df_mic.cpp.

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

Referenced by Mamwvolinfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void df_TCMMediaVolume_t::NetToHost (  ) 

In-place conversion to host format.

Definition at line 96 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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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

Definition at line 621 of file df_types.h.

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

Definition at line 630 of file df_types.h.

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

block size that is used on this media volume

Definition at line 622 of file df_types.h.

Increased at init and each of the reorgs.

Definition at line 629 of file df_types.h.


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