TINC
Toolkit for Interactive Computation
|
The DistributedPath class represents a path on a distributed system. More...
#include <DistributedPath.hpp>
Public Member Functions | |
DistributedPath (std::string filename=std::string(), std::string relativePath=std::string(), std::string rootPath=std::string(), std::string protocolId=std::string()) | |
std::string | filePath () |
full path including filename More... | |
std::string | path () |
full path without including filename More... | |
void | setPaths (std::string relativePath, std::string rootPath) |
set relative and root paths More... | |
Public Attributes | |
std::string | filename |
std::string | relativePath |
std::string | rootPath |
std::string | protocolId |
The DistributedPath class represents a path on a distributed system.
Distributed paths have a "root" that can be different on different nodes in the system. The full path is constructed from this root path, the relative path and the filename.
Definition at line 47 of file DistributedPath.hpp.
tinc::DistributedPath::DistributedPath | ( | std::string | filename = std::string() , |
std::string | relativePath = std::string() , |
||
std::string | rootPath = std::string() , |
||
std::string | protocolId = std::string() |
||
) |
std::string tinc::DistributedPath::filePath | ( | ) |
full path including filename
std::string tinc::DistributedPath::path | ( | ) |
full path without including filename
void tinc::DistributedPath::setPaths | ( | std::string | relativePath, |
std::string | rootPath | ||
) |
set relative and root paths
std::string tinc::DistributedPath::filename |
Definition at line 54 of file DistributedPath.hpp.
std::string tinc::DistributedPath::protocolId |
Definition at line 58 of file DistributedPath.hpp.
std::string tinc::DistributedPath::relativePath |
Definition at line 55 of file DistributedPath.hpp.
std::string tinc::DistributedPath::rootPath |
Definition at line 56 of file DistributedPath.hpp.