1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2017 Christian Schoenebeck * |
* Copyright (C) 2017-2019 Christian Schoenebeck * |
4 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
5 |
* * |
* * |
6 |
* This library is part of libgig. * |
* This library is part of libgig. * |
7 |
* * |
* * |
290 |
bool DataType::operator<(const DataType& other) const { |
bool DataType::operator<(const DataType& other) const { |
291 |
return m_baseTypeName < other.m_baseTypeName || |
return m_baseTypeName < other.m_baseTypeName || |
292 |
(m_baseTypeName == other.m_baseTypeName && |
(m_baseTypeName == other.m_baseTypeName && |
293 |
m_customTypeName < other.m_customTypeName || |
(m_customTypeName < other.m_customTypeName || |
294 |
(m_customTypeName == other.m_customTypeName && |
(m_customTypeName == other.m_customTypeName && |
295 |
m_size < other.m_size || |
(m_size < other.m_size || |
296 |
(m_size == other.m_size && |
(m_size == other.m_size && |
297 |
m_isPointer < other.m_isPointer))); |
m_isPointer < other.m_isPointer))))); |
298 |
} |
} |
299 |
|
|
300 |
/** @brief Greater than comparison. |
/** @brief Greater than comparison. |
577 |
bool Member::operator<(const Member& other) const { |
bool Member::operator<(const Member& other) const { |
578 |
return m_uid < other.m_uid || |
return m_uid < other.m_uid || |
579 |
(m_uid == other.m_uid && |
(m_uid == other.m_uid && |
580 |
m_offset < other.m_offset || |
(m_offset < other.m_offset || |
581 |
(m_offset == other.m_offset && |
(m_offset == other.m_offset && |
582 |
m_name < other.m_name || |
(m_name < other.m_name || |
583 |
(m_name == other.m_name && |
(m_name == other.m_name && |
584 |
m_type < other.m_type))); |
m_type < other.m_type))))); |
585 |
} |
} |
586 |
|
|
587 |
/** @brief Greater than comparison. |
/** @brief Greater than comparison. |