--------------------------------- Entry::GetPath Get the path of an entry, recursively stepping up the parent list
| 64 | // Get the path of an entry, recursively stepping up the parent list |
| 65 | // |
| 66 | std::string Entry::GetPath() const |
| 67 | { |
| 68 | if (m_Parent) |
| 69 | { |
| 70 | return std::string(m_Parent->GetPath() + m_Parent->GetNameOnly() + m_Path); |
| 71 | } |
| 72 | else |
| 73 | { |
| 74 | return m_Path; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | //--------------------------------- |
| 79 | // Entry::GetName |
no outgoing calls
no test coverage detected