Adaptyst
A comprehensive and architecture-agnostic performance analysis tool
Loading...
Searching...
No Matches
adaptyst::Path Class Reference

#include <output.hpp>

Inheritance diagram for adaptyst::Path:
adaptyst::ObjectWithMetadata

Public Member Functions

 Path (fs::path path)
 
const char * get_path_name ()
 
Path operator/ (std::string second)
 
Path operator/ (const char *second)
 
void save_metadata ()
 

Friends

class File
 

Additional Inherited Members

Detailed Description

This class represents a directory path with metadata attached to it thanks to inheriting from ObjectWithMetadata.

Constructor & Destructor Documentation

◆ Path()

adaptyst::Path::Path ( fs::path path)
inline

Constructs a Path object.

Parameters
pathPath the object should be about.

Member Function Documentation

◆ get_path_name()

const char * adaptyst::Path::get_path_name ( )
inline

Gets the full path name.

Returns
Full path name.

◆ operator/() [1/2]

Path adaptyst::Path::operator/ ( const char * second)
inline

Performs path concatenation.

Parameters
secondString (in form of const char *) the path should be concatenated with.

◆ operator/() [2/2]

Path adaptyst::Path::operator/ ( std::string second)
inline

Performs path concatenation.

Parameters
secondString the path should be concatenated with.

◆ save_metadata()

void adaptyst::Path::save_metadata ( )
inlinevirtual

Saves metadata to disk.

Implements adaptyst::ObjectWithMetadata.

Friends And Related Symbol Documentation

◆ File

friend class File
friend

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