MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
fiff_dir_entry.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef FIFF_DIR_ENTRY_H
38#define FIFF_DIR_ENTRY_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "fiff_global.h"
45#include "fiff_types.h"
46
47//=============================================================================================================
48// QT INCLUDES
49//=============================================================================================================
50
51#include <QSharedPointer>
52
53//=============================================================================================================
54// DEFINE NAMESPACE FIFFLIB
55//=============================================================================================================
56
57namespace FIFFLIB
58{
59
60//=============================================================================================================
68{
69public:
70 typedef QSharedPointer<FiffDirEntry> SPtr;
71 typedef QSharedPointer<const FiffDirEntry> ConstSPtr;
73 //=========================================================================================================
78
79 //=========================================================================================================
85 FiffDirEntry(const FiffDirEntry& p_FiffDirEntry);
86
87 //=========================================================================================================
92
93 //=========================================================================================================
99 inline static qint32 storageSize();
100
101public:
102 fiff_int_t kind;
103 fiff_int_t type;
104 fiff_int_t size;
105 fiff_int_t pos;
107// ### OLD STRUCT ###
108// /** Directories are composed of these structures. *
109// typedef struct _fiffDirEntryRec {
110// fiff_int_t kind; /**< Tag number *
111// fiff_int_t type; /**< Data type *
112// fiff_int_t size; /**< How many bytes *
113// fiff_int_t pos; /**< Location in file
114// * Note: the data is located at pos +
115// * FIFFC_DATA_OFFSET *
116// } fiffDirEntryRec,*fiffDirEntry;/**< Directory is composed of these *
117// /** Alias for fiffDirEntryRec *
118// typedef fiffDirEntryRec fiff_dir_entry_t;
119};
120
121//=============================================================================================================
122// INLINE DEFINITIONS
123//=============================================================================================================
124
126{
127 return 16;
128}
129} // NAMESPACE
130
131#endif // FIFF_DIR_ENTRY_H
Fiff library export/import macros.
#define FIFFSHARED_EXPORT
Definition fiff_global.h:56
Definitions for describing the objects in a FIFF file.
Directory entry description.
static qint32 storageSize()
QSharedPointer< FiffDirEntry > SPtr
QSharedPointer< const FiffDirEntry > ConstSPtr