Jetpack documentation 1.0.0
Loading...
Searching...
No Matches
Cwd Class Reference

An encapsulation of the current working directory (CWD) More...

#include <Cwd.hpp>

Public Member Functions

 Cwd ()
 Constructor for Cwd class.
 
 ~Cwd ()
 Deleted copy constructor.
 
std::string getPwd () const
 Gets the current working directory.
 

Private Attributes

std::string _pwd
 

Detailed Description

An encapsulation of the current working directory (CWD)

Constructor & Destructor Documentation

◆ Cwd()

Cwd ( )

Constructor for Cwd class.

Note
This constructor gets the current working directory
Exceptions
JetpackErrorif getcwd fails

Member Function Documentation

◆ getPwd()

std::string getPwd ( ) const

Gets the current working directory.

Returns
The current working directory

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