MNE-CPP
beta 1.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
MNE
fiff
fiff_dir_entry.h
Go to the documentation of this file.
1
//=============================================================================================================
36
#ifndef FIFF_DIR_ENTRY_H
37
#define FIFF_DIR_ENTRY_H
38
39
//*************************************************************************************************************
40
//=============================================================================================================
41
// FIFF INCLUDES
42
//=============================================================================================================
43
44
#include "
fiff_global.h
"
45
#include "
fiff_types.h
"
46
47
48
//*************************************************************************************************************
49
//=============================================================================================================
50
// Qt INCLUDES
51
//=============================================================================================================
52
53
#include <QSharedPointer>
54
55
56
//*************************************************************************************************************
57
//=============================================================================================================
58
// DEFINE NAMESPACE FIFFLIB
59
//=============================================================================================================
60
61
namespace
FIFFLIB
62
{
63
64
//*************************************************************************************************************
65
//=============================================================================================================
66
// USED NAMESPACES
67
//=============================================================================================================
68
69
70
//=============================================================================================================
77
class
FIFFSHARED_EXPORT
FiffDirEntry
78
{
79
public
:
80
typedef
QSharedPointer<FiffDirEntry>
SPtr
;
81
typedef
QSharedPointer<const FiffDirEntry>
ConstSPtr
;
83
//=========================================================================================================
87
FiffDirEntry
();
88
89
//=========================================================================================================
95
FiffDirEntry
(
const
FiffDirEntry
& p_FiffDirEntry);
96
97
//=========================================================================================================
101
~
FiffDirEntry
();
102
103
//=========================================================================================================
109
inline
static
qint32 storageSize();
110
111
public
:
112
fiff_int_t
kind
;
113
fiff_int_t
type
;
114
fiff_int_t
size
;
115
fiff_int_t
pos
;
117
// ### OLD STRUCT ###
118
// /** Directories are composed of these structures. *
119
// typedef struct _fiffDirEntryRec {
120
// fiff_int_t kind; /**< Tag number *
121
// fiff_int_t type; /**< Data type *
122
// fiff_int_t size; /**< How many bytes *
123
// fiff_int_t pos; /**< Location in file
124
// * Note: the data is located at pos +
125
// * FIFFC_DATA_OFFSET *
126
// } fiffDirEntryRec,*fiffDirEntry;/**< Directory is composed of these *
127
// /** Alias for fiffDirEntryRec *
128
// typedef fiffDirEntryRec fiff_dir_entry_t;
129
};
130
131
132
//*************************************************************************************************************
133
//=============================================================================================================
134
// INLINE DEFINITIONS
135
//=============================================================================================================
136
137
inline
qint32
FiffDirEntry::storageSize
()
138
{
139
return
16;
140
}
141
142
}
// NAMESPACE
143
144
#endif // FIFF_DIR_ENTRY_H
FIFFLIB::FiffDirEntry::ConstSPtr
QSharedPointer< const FiffDirEntry > ConstSPtr
Definition:
fiff_dir_entry.h:81
FIFFLIB::FiffDirEntry::SPtr
QSharedPointer< FiffDirEntry > SPtr
Definition:
fiff_dir_entry.h:80
FIFFLIB::FiffDirEntry::kind
fiff_int_t kind
Definition:
fiff_dir_entry.h:112
FIFFLIB::FiffDirEntry
Directory entry description.
Definition:
fiff_dir_entry.h:77
fiff_types.h
Old fiff_type declarations - replace them.
FIFFLIB::FiffDirEntry::storageSize
static qint32 storageSize()
Definition:
fiff_dir_entry.h:137
FIFFLIB::FiffDirEntry::pos
fiff_int_t pos
Definition:
fiff_dir_entry.h:115
FIFFLIB::FiffDirEntry::size
fiff_int_t size
Definition:
fiff_dir_entry.h:114
FIFFSHARED_EXPORT
#define FIFFSHARED_EXPORT
Definition:
fiff_global.h:58
fiff_global.h
Fiff library export/import macros.
FIFFLIB
Definition:
fiff.h:98
FIFFLIB::FiffDirEntry::type
fiff_int_t type
Definition:
fiff_dir_entry.h:113
Generated on Fri Mar 27 2015 22:54:30 for MNE-CPP by
1.8.9.1