LLVFSFileBlock Class Reference

Inheritance diagram for LLVFSFileBlock:

Inheritance graph
[legend]
Collaboration diagram for LLVFSFileBlock:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLVFSFileBlock ()
 LLVFSFileBlock (const LLUUID &file_id, LLAssetType::EType file_type, U32 loc=0, S32 size=0)
void init ()
U32 swizzle32 (U32 x)
U16 swizzle16 (U16 x)
void swizzleCopy (void *dst, void *src, int size)
void serialize (U8 *buffer)
void deserialize (U8 *buffer, const S32 index_loc)

Static Public Member Functions

static BOOL insertLRU (LLVFSFileBlock *const &first, LLVFSFileBlock *const &second)

Public Attributes

S32 mSize
S32 mIndexLocation
U32 mAccessTime
BOOL mLocks [VFSLOCK_COUNT]

Static Public Attributes

static const S32 SERIAL_SIZE = 34


Detailed Description

Definition at line 110 of file llvfs.cpp.


Constructor & Destructor Documentation

LLVFSFileBlock::LLVFSFileBlock (  )  [inline]

Definition at line 113 of file llvfs.cpp.

References init().

Here is the call graph for this function:

LLVFSFileBlock::LLVFSFileBlock ( const LLUUID file_id,
LLAssetType::EType  file_type,
U32  loc = 0,
S32  size = 0 
) [inline]

Definition at line 118 of file llvfs.cpp.

References init().

Here is the call graph for this function:


Member Function Documentation

void LLVFSFileBlock::init ( void   )  [inline]

Definition at line 124 of file llvfs.cpp.

References i, mSize, NULL, S32, and VFSLOCK_COUNT.

U32 LLVFSFileBlock::swizzle32 ( U32  x  )  [inline]

Definition at line 141 of file llvfs.cpp.

U16 LLVFSFileBlock::swizzle16 ( U16  x  )  [inline]

Definition at line 146 of file llvfs.cpp.

void LLVFSFileBlock::swizzleCopy ( void *  dst,
void *  src,
int  size 
) [inline]

Definition at line 151 of file llvfs.cpp.

void LLVFSFileBlock::serialize ( U8 buffer  )  [inline]

Definition at line 170 of file llvfs.cpp.

References LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, and mSize.

Referenced by LLVFS::sync().

Here is the caller graph for this function:

void LLVFSFileBlock::deserialize ( U8 buffer,
const S32  index_loc 
) [inline]

Definition at line 186 of file llvfs.cpp.

References LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, and mSize.

Referenced by LLVFS::audit(), and LLVFS::LLVFS().

Here is the caller graph for this function:

static BOOL LLVFSFileBlock::insertLRU ( LLVFSFileBlock *const &  first,
LLVFSFileBlock *const &  second 
) [inline, static]

Definition at line 205 of file llvfs.cpp.

References mAccessTime.

Referenced by LLVFSFileBlock_less::operator()().

Here is the caller graph for this function:


Member Data Documentation

BOOL LLVFSFileBlock::mLocks[VFSLOCK_COUNT]

const S32 LLVFSFileBlock::SERIAL_SIZE = 34 [static]

Definition at line 219 of file llvfs.cpp.

Referenced by LLVFS::audit(), LLVFS::LLVFS(), and LLVFS::sync().


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

Generated on Fri May 16 09:23:20 2008 for SecondLife by  doxygen 1.5.5