MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Definition of the FiffTag Class. More...
#include "fiff_tag.h"
#include <utils/ioutils.h>
#include <complex>
#include <iostream>
#include <QTcpSocket>
Go to the source code of this file.
Variables | |
int | k |
int * | dimp = ((fiff_int_t *)((tag->data())+tag->size()-sizeof(fiff_int_t))) |
int * | data |
int | kind = fiff_type_base(tag->type) |
int | np = nz |
int | nz = dimp[0] |
float * | fdata |
double * | ddata |
unsigned int | tsize = tag->size() |
ndim = *dimp | |
else | |
else | return |
Definition of the FiffTag Class.
Copyright (C) 2012, Lorenz Esch, Matti Hamalainen, Christoph Dinh. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file fiff_tag.cpp.
else |
Definition at line 349 of file fiff_tag.cpp.
int k |
Machine dependent data type conversions (tag info only) /
void FiffTag::fiff_convert_tag_info(FiffTag*& tag)
{ tag->kind = swap_int(tag->kind); tag->type = swap_int(tag->type); tag->size = swap_int(tag->size); tag->next = swap_int(tag->next); return; }
#endif /* INTEL_X86_ARCH */
void FiffTag::convert_ch_pos(FiffChPos* pos) { int k; pos->coil_type = IOUtils::swap_int(pos->coil_type); for (k = 0; k < 3; k++) { IOUtils::swap_floatp(&pos->r0[k]); IOUtils::swap_floatp(&pos->ex[k]); IOUtils::swap_floatp(&pos->ey[k]); IOUtils::swap_floatp(&pos->ez[k]); } return; }
void FiffTag::convert_matrix_from_file_data(FiffTag::SPtr tag) /* Assumes that the input is in the non-native byte order and needs to be swapped to the other one
Definition at line 322 of file fiff_tag.cpp.