v2.0.0
Loading...
Searching...
No Matches
fiff_dig_point.h
Go to the documentation of this file.
1//=============================================================================================================
37
38#ifndef FIFF_DIG_POINT_H
39#define FIFF_DIG_POINT_H
40
41//=============================================================================================================
42// INCLUDES
43//=============================================================================================================
44
45#include "fiff_global.h"
46#include "fiff_types.h"
47
48//=============================================================================================================
49// QT INCLUDES
50//=============================================================================================================
51
52#include <QSharedPointer>
53#include <QDebug>
54#include <memory>
55
56//=============================================================================================================
57// DEFINE NAMESPACE FIFFLIB
58//=============================================================================================================
59
60namespace FIFFLIB
61{
62
63//=============================================================================================================
70{
71public:
72 using SPtr = QSharedPointer<FiffDigPoint>;
73 using ConstSPtr = QSharedPointer<const FiffDigPoint>;
74 using UPtr = std::unique_ptr<FiffDigPoint>;
75 using ConstUPtr = std::unique_ptr<const FiffDigPoint>;
76
77 //=========================================================================================================
82
83 //=========================================================================================================
87 ~FiffDigPoint() = default;
88
89 //=========================================================================================================
95 inline static qint32 storageSize();
96
97public:
102};
103
104//=============================================================================================================
105// INLINE DEFINITIONS
106//=============================================================================================================
107
109{
110 return sizeof(FiffDigPoint::kind) + sizeof(FiffDigPoint::ident)
111 + sizeof(FiffDigPoint::r); // coord_frame is not part of on-disk format
112}
113} // NAMESPACE
114
115#endif // FIFF_DIG_POINT_H
Fiff library export/import macros.
#define FIFFSHARED_EXPORT
Definition fiff_global.h:52
Old fiff_type declarations - replace them.
FIFF file I/O and data structures (raw, epochs, evoked, covariance, forward).
qint32 fiff_int_t
Definition fiff_types.h:89
float fiff_float_t
Definition fiff_types.h:93
static qint32 storageSize()
std::unique_ptr< const FiffDigPoint > ConstUPtr
std::unique_ptr< FiffDigPoint > UPtr
QSharedPointer< const FiffDigPoint > ConstSPtr
QSharedPointer< FiffDigPoint > SPtr