libepubgen::EPUBPath Class Reference

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)
 

Detailed Description

Representation of a path in the package.

Constructor & Destructor Documentation

◆ EPUBPath()

libepubgen::EPUBPath::EPUBPath ( const std::string &  path)
explicit

Member Function Documentation

◆ append()

void libepubgen::EPUBPath::append ( const EPUBPath subpath)

Referenced by libepubgen::operator/().

◆ appendComponent()

void libepubgen::EPUBPath::appendComponent ( const std::string &  pathComponent)

Referenced by libepubgen::operator/().

◆ relativeTo()

const EPUBPath::Relative libepubgen::EPUBPath::relativeTo ( const EPUBPath base) const

◆ str()

◆ swap()

void libepubgen::EPUBPath::swap ( EPUBPath other)

Referenced by libepubgen::swap().

Friends And Related Function Documentation

◆ operator==

bool operator== ( const EPUBPath left,
const EPUBPath right 
)
friend

Member Data Documentation

◆ m_components

std::vector<std::string> libepubgen::EPUBPath::m_components
private

The documentation for this class was generated from the following files:

Generated for libepubgen by doxygen 1.8.13