v2.0.0
Loading...
Searching...
No Matches
FIFFLIB::FiffDirEntry Class Reference

Directory entry description. More...

#include <fiff_dir_entry.h>

Public Types

typedef QSharedPointer< FiffDirEntrySPtr
typedef QSharedPointer< const FiffDirEntryConstSPtr

Public Member Functions

 FiffDirEntry ()
 FiffDirEntry (const FiffDirEntry &p_FiffDirEntry)
 ~FiffDirEntry ()

Static Public Member Functions

static qint32 storageSize ()

Public Attributes

fiff_int_t kind
fiff_int_t type
fiff_int_t size
fiff_int_t pos

Detailed Description

Directory entry description.

A Dir Entry, which replaces fiffDirEntryRec which had a size of 4*4 = 16

Definition at line 67 of file fiff_dir_entry.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const FiffDirEntry> FIFFLIB::FiffDirEntry::ConstSPtr

Const shared pointer type for FiffDirEntry.

Definition at line 71 of file fiff_dir_entry.h.

◆ SPtr

typedef QSharedPointer<FiffDirEntry> FIFFLIB::FiffDirEntry::SPtr

Shared pointer type for FiffDirEntry.

Definition at line 70 of file fiff_dir_entry.h.

Constructor & Destructor Documentation

◆ FiffDirEntry() [1/2]

FiffDirEntry::FiffDirEntry ( )

Constructs the dir entry.

Definition at line 53 of file fiff_dir_entry.cpp.

◆ FiffDirEntry() [2/2]

FiffDirEntry::FiffDirEntry ( const FiffDirEntry & p_FiffDirEntry)

Copy constructor.

Parameters
[in]p_FiffDirEntryDir Entry which should be copied.

Definition at line 63 of file fiff_dir_entry.cpp.

◆ ~FiffDirEntry()

FiffDirEntry::~FiffDirEntry ( )

Destroys the dir entry.

Definition at line 73 of file fiff_dir_entry.cpp.

Member Function Documentation

◆ storageSize()

qint32 FIFFLIB::FiffDirEntry::storageSize ( )
inlinestatic

Size of the old struct (fiffDirEntryRec) 4*int = 4*4 = 16

Returns
the size of the old struct fiffDirEntryRec.

Definition at line 125 of file fiff_dir_entry.h.

Member Data Documentation

◆ kind

fiff_int_t FIFFLIB::FiffDirEntry::kind

Tag number.

Definition at line 102 of file fiff_dir_entry.h.

◆ pos

fiff_int_t FIFFLIB::FiffDirEntry::pos

Location in file; Note: the data is located at pos + FIFFC_DATA_OFFSET: 2GB restriction -> change this to fiff_long_t.

Definition at line 105 of file fiff_dir_entry.h.

◆ size

fiff_int_t FIFFLIB::FiffDirEntry::size

How many bytes.

Definition at line 104 of file fiff_dir_entry.h.

◆ type

fiff_int_t FIFFLIB::FiffDirEntry::type

Data type.

Definition at line 103 of file fiff_dir_entry.h.


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