19#ifndef MNEMGHTAGGROUP_H
20#define MNEMGHTAGGROUP_H
40#include <QSharedPointer>
58 typedef QSharedPointer<MNEMghTagGroup>
SPtr;
59 typedef QSharedPointer<const MNEMghTagGroup>
ConstSPtr;
70 for (
const auto& t : other.
tags)
71 tags.push_back(std::make_unique<MNEMghTag>(*t));
79 for (
const auto& t : other.
tags)
80 tags.push_back(std::make_unique<MNEMghTag>(*t));
95 std::vector<std::unique_ptr<MNEMghTag>>
tags;
100 int ntags()
const {
return static_cast<int>(
tags.size()); }
MNELIB shared-library export/import macros and library build metadata.
Single FreeSurfer MGH/MGZ tag (key, length, opaque payload).
Core MNE data structures (source spaces, source estimates, hemispheres).
QSharedPointer< MNEMghTagGroup > SPtr
int ntags() const
Returns the number of tags in the group.
MNEMghTagGroup & operator=(const MNEMghTagGroup &other)
MNEMghTagGroup(MNEMghTagGroup &&)=default
std::vector< std::unique_ptr< MNEMghTag > > tags
QSharedPointer< const MNEMghTagGroup > ConstSPtr
MNEMghTagGroup & operator=(MNEMghTagGroup &&)=default
MNEMghTagGroup(const MNEMghTagGroup &other)
~MNEMghTagGroup()=default