MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Universially unique identifier. More...
#include <fiff_id.h>
Public Types | |
typedef QSharedPointer< FiffId > | SPtr |
typedef QSharedPointer< const FiffId > | ConstSPtr |
Public Member Functions | |
FiffId () | |
FiffId (const FiffId &p_FiffId) | |
~FiffId () | |
void | clear () |
void | print () const |
bool | isEmpty () const |
QString | toMachidString () const |
Static Public Member Functions | |
static FiffId | new_file_id () |
static bool | get_machid (int *fixed_id) |
static FiffId & | getDefault () |
static qint32 | storageSize () |
Public Attributes | |
fiff_int_t | version |
fiff_int_t | machid [2] |
fiffTimeRec | time |
Friends | |
bool | operator== (const FiffId &f1, const FiffId &f2) |
Universially unique identifier.
These universially unique identifiers are also used to identify blocks within the files. Replaces fiffIdRec which had a size of 5*4 = 20
typedef QSharedPointer<const FiffId> FIFFLIB::FiffId::ConstSPtr |
typedef QSharedPointer<FiffId> FIFFLIB::FiffId::SPtr |
FiffId::FiffId | ( | ) |
Default Constructor
Definition at line 57 of file fiff_id.cpp.
FiffId::FiffId | ( | const FiffId & | p_FiffId | ) |
Copy constructor.
[in] | p_FiffId | Universially unique identifier which should be copied. |
Definition at line 68 of file fiff_id.cpp.
FiffId::~FiffId | ( | ) |
Destroys the universially unique identifier.
Definition at line 79 of file fiff_id.cpp.
void FiffId::clear | ( | ) |
Resets the File identifier.
Definition at line 115 of file fiff_id.cpp.
|
static |
Returns the machine ID consisting of a two integer number Refactored: fiff_get_machid (fiff_get_machid.c)
Definition at line 126 of file fiff_id.cpp.
|
static |
Returns a default FiffId object to be used as an mutable placeholder for a default instance of the class.
Definition at line 210 of file fiff_id.cpp.
|
inline |
|
static |
Constructs a (hopefully) unique file id Refactored: fiff_new_file_id (fiff_id.c)
Definition at line 85 of file fiff_id.cpp.
void FiffId::print | ( | ) | const |
Prints the id Refactored: print_id (fiff_dir_tree.c)
Definition at line 164 of file fiff_id.cpp.
|
inlinestatic |
QString FiffId::toMachidString | ( | ) | const |
Print mac address in a fashionable manner.
Definition at line 175 of file fiff_id.cpp.
fiffTimeRec FIFFLIB::FiffId::time |