36#ifndef MNEMGHTAGGROUP_H
37#define MNEMGHTAGGROUP_H
57#include <QSharedPointer>
75 typedef QSharedPointer<MNEMghTagGroup>
SPtr;
76 typedef QSharedPointer<const MNEMghTagGroup>
ConstSPtr;
87 for (
const auto& t : other.
tags)
88 tags.push_back(std::make_unique<MNEMghTag>(*t));
96 for (
const auto& t : other.
tags)
97 tags.push_back(std::make_unique<MNEMghTag>(*t));
112 std::vector<std::unique_ptr<MNEMghTag>>
tags;
117 int ntags()
const {
return static_cast<int>(
tags.size()); }
mne library export/import macros.
MNEMghTag class declaration.
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