v2.0.0
Loading...
Searching...
No Matches
fiff_dig_point.h
Go to the documentation of this file.
1//=============================================================================================================
32
33#ifndef FIFF_DIG_POINT_H
34#define FIFF_DIG_POINT_H
35
36//=============================================================================================================
37// INCLUDES
38//=============================================================================================================
39
40#include "fiff_global.h"
41#include "fiff_types.h"
42
43//=============================================================================================================
44// QT INCLUDES
45//=============================================================================================================
46
47#include <QSharedPointer>
48#include <QDebug>
49#include <memory>
50
51//=============================================================================================================
52// DEFINE NAMESPACE FIFFLIB
53//=============================================================================================================
54
55namespace FIFFLIB
56{
57
58//=============================================================================================================
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) + sizeof(FiffDigPoint::r); // coord_frame is not part of on-disk format
111}
112} // NAMESPACE
113
114#endif // FIFF_DIG_POINT_H
Export/import macros and build-info accessors for the FIFFLIB shared library.
#define FIFFSHARED_EXPORT
Definition fiff_global.h:44
Primitive scalar typedefs and forward-compatible aliases backing the FIFF type system.
FIFF file I/O, in-memory data structures and high-level readers/writers.
qint32 fiff_int_t
Definition fiff_types.h:86
float fiff_float_t
Definition fiff_types.h:90
static qint32 storageSize()
std::unique_ptr< const FiffDigPoint > ConstUPtr
std::unique_ptr< FiffDigPoint > UPtr
QSharedPointer< const FiffDigPoint > ConstSPtr
QSharedPointer< FiffDigPoint > SPtr