Aktualizr
C++ SOTA Client
Public Member Functions | List of all members
utils::BasedPath Class Reference

The BasedPath class Can represent an absolute or relative path, only readable through the BasePath::get() method. More...

#include <types.h>

Public Member Functions

 BasedPath (boost::filesystem::path p)
 
boost::filesystem::path get (const boost::filesystem::path &base) const
 
bool empty () const
 
bool operator== (const BasedPath &b) const
 
bool operator!= (const BasedPath &b) const
 

Detailed Description

The BasedPath class Can represent an absolute or relative path, only readable through the BasePath::get() method.

The intent is to avoid unintentional use of the "naked" relative path by mandating a base directory for each instantiation.

TODO has to be moved into Utils namespace

Definition at line 31 of file types.h.


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