Skip to main content

getPrefix

std::string getPrefix() const;

Gets the object's prefix

Parameters

  • returns (std::string) The Output's prefix

Example

Output* out = new Output("MyPrefix: ", 1, 0, Output::FILE);

std::string prefix = out->getPrefix(); // Returns 'MyPrefix: '
#include <sst/core/output.h>