Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
testing_utilities::GlobalString Class Reference

Holds a single std::string that's intended to be read only and global. Use for storing the path of the root directory of Cholla. More...

#include <testing_utilities.h>

Public Member Functions

void init (std::string const &inputPath)
 Initializes the _path member variable. Should only be called once in main.
 
std::string getString ()
 Get the String object.
 

Detailed Description

Holds a single std::string that's intended to be read only and global. Use for storing the path of the root directory of Cholla.

Member Function Documentation

◆ getString()

std::string testing_utilities::GlobalString::getString ( )
inline

Get the String object.

Returns
std::string The string variable

◆ init()

void testing_utilities::GlobalString::init ( std::string const &  inputPath)
inline

Initializes the _path member variable. Should only be called once in main.

Parameters
inputPathThe path to be store in _path

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