The Sleuth Kit 4.15.0-develop
TskFsAttrRun Class Reference

Contains information about a single data run, which has a starting address and length. More...

#include <tsk_fs.h>

Public Member Functions

TSK_DADDR_T getAddr () const
TSK_FS_ATTR_RUN_FLAG_ENUM getFlags () const
TSK_DADDR_T getOffset () const
 get offset (in blocks) of this run in the file
TSK_DADDR_T length () const
 get number of blocks in run (0 when entry is not in use)
 TskFsAttrRun (TSK_FS_ATTR_RUN *a_fsAttrRun)

Detailed Description

Contains information about a single data run, which has a starting address and length.

A run describes a consecutive list of blocks that have been allocated to a file. A file may have many such runs and they are stringed together in a linked list. The entries in the list must be stored in sequential order (based on offset in file). See TSK_FS_ATTR_RUN for more details.

Constructor & Destructor Documentation

◆ TskFsAttrRun()

TskFsAttrRun::TskFsAttrRun ( TSK_FS_ATTR_RUN * a_fsAttrRun)
inline
construct a TskFsAttrRun object.
Parameters
a_fsAttrRunpointer of TSK_FS_ATTR_RUN. If NULL, then the getX() method return values are undefined.

Member Function Documentation

◆ getAddr()

TSK_DADDR_T TskFsAttrRun::getAddr ( ) const
inline
get starting block address (in file system) of run
Returns
starting block address

◆ getFlags()

TSK_FS_ATTR_RUN_FLAG_ENUM TskFsAttrRun::getFlags ( ) const
inline
get flags for run
Returns
flags for run

◆ getOffset()

TSK_DADDR_T TskFsAttrRun::getOffset ( ) const
inline

get offset (in blocks) of this run in the file

Returns
offset of run

◆ length()

TSK_DADDR_T TskFsAttrRun::length ( ) const
inline

get number of blocks in run (0 when entry is not in use)

Returns
offset

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

Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.