Return Type | Function name | Arguments |
---|---|---|
bool | hzDirent::operator> | (const hzDirent&,) |
Declared in file: hzDirectory.h
Defined in file : hzDirectory.cpp
Function Logic:
Function body:
bool hzDirent::operator> (const hzDirent& op) { if (ISDIR(m_Mode) && ISDIR(op.m_Mode)) return m_Name > op.m_Name ? true : false ; if (ISDIR(m_Mode)) return m_Name > op.Path() ? true : false ; if (ISDIR(op.m_Mode)) return Path() < op.m_Name ? false : true ; if (Path() > op.Path()) return true ; if (m_parent == op.m_parent && m_Name > op.m_Name) return true ; return false ; }