Representation of a path in the package. More...
#include <EPUBPath.h>
Classes | |
class | Relative |
Public Member Functions | |
EPUBPath (const std::string &path) | |
void | swap (EPUBPath &other) |
void | append (const EPUBPath &subpath) |
void | appendComponent (const std::string &pathComponent) |
const std::string | str () const |
const Relative | relativeTo (const EPUBPath &base) const |
Private Attributes | |
std::vector< std::string > | m_components |
Friends | |
bool | operator== (const EPUBPath &left, const EPUBPath &right) |
Representation of a path in the package.
|
explicit |
void libepubgen::EPUBPath::append | ( | const EPUBPath & | subpath | ) |
Referenced by libepubgen::operator/().
void libepubgen::EPUBPath::appendComponent | ( | const std::string & | pathComponent | ) |
Referenced by libepubgen::operator/().
const EPUBPath::Relative libepubgen::EPUBPath::relativeTo | ( | const EPUBPath & | base | ) | const |
const std::string libepubgen::EPUBPath::str | ( | ) | const |
void libepubgen::EPUBPath::swap | ( | EPUBPath & | other | ) |
Referenced by libepubgen::swap().
|
private |
Referenced by append(), appendComponent(), EPUBPath(), libepubgen::operator==(), relativeTo(), str(), and swap().