MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functions | |
bool | compareEntityNames (const char *pcName1, const char *pcName2) |
Compares two entity names. | |
bool | readEntityHeader (CChannel &Channel) |
Reads and checks the data entity header. | |
bool | readGroupHeader (CChannel &Channel, const char *pcName, int &Compression, tSize &BlockSize) |
Reads and decodes header of data entity group. | |
bool | readTerminal (CChannel &Channel) |
Finds and reads terminal. | |
bool | writeEntityHeader (CChannel &Channel) |
Writes data entity header to a binary channel. | |
bool | writeGroupHeader (CChannel &Channel, const char *pcName, int Compression, tSize BlockSize) |
Writes header of data entity logical group. | |
bool | writeTerminal (CChannel &Channel) |
Writes terminal to a binary channel. | |
Variables | |
const int | ENTITY_HEADER_PADDING = HEADER_ALIGNMENT - 8 |
Padding of data entity header. | |
const int | GROUP_HEADER_PADDING = HEADER_ALIGNMENT - CSerializable::MAX_NAME_LENGTH - 8 |
Padding of entity part header. | |
const int | HEADER_ALIGNMENT = 256 |
Alignment of data entity header. | |
const mds::sys::tUInt32 | MAGIC = 0x53444d |
Data entity magic number. | |
const char | TERMINAL_BLOCK_NAME [] = "TerminalBlock" |
Name of empty terminal data block. |
bool mds::mod::BinarySerializer::compareEntityNames | ( | const char * | pcName1, |
const char * | pcName2 | ||
) |
Compares two entity names.
bool mds::mod::BinarySerializer::readEntityHeader | ( | CChannel & | Channel | ) |
Reads and checks the data entity header.
bool mds::mod::BinarySerializer::readGroupHeader | ( | CChannel & | Channel, |
const char * | pcName, | ||
int & | Compression, | ||
tSize & | BlockSize | ||
) |
Reads and decodes header of data entity group.
bool mds::mod::BinarySerializer::readTerminal | ( | CChannel & | Channel | ) |
Finds and reads terminal.
bool mds::mod::BinarySerializer::writeEntityHeader | ( | CChannel & | Channel | ) |
Writes data entity header to a binary channel.
bool mds::mod::BinarySerializer::writeGroupHeader | ( | CChannel & | Channel, |
const char * | pcName, | ||
int | Compression, | ||
tSize | BlockSize | ||
) |
Writes header of data entity logical group.
bool mds::mod::BinarySerializer::writeTerminal | ( | CChannel & | Channel | ) |
Writes terminal to a binary channel.
Padding of data entity header.
const int mds::mod::BinarySerializer::GROUP_HEADER_PADDING = HEADER_ALIGNMENT - CSerializable::MAX_NAME_LENGTH - 8 |
Padding of entity part header.
const int mds::mod::BinarySerializer::HEADER_ALIGNMENT = 256 |
Alignment of data entity header.
const mds::sys::tUInt32 mds::mod::BinarySerializer::MAGIC = 0x53444d |
Data entity magic number.
const char mds::mod::BinarySerializer::TERMINAL_BLOCK_NAME[] = "TerminalBlock" |
Name of empty terminal data block.