Skip to main content

getOutputLocation

output_location_t getOutputLocation() const;

Return the Output's output location. output_location_t is an enum type with this definition:

    enum output_location_t {
NONE, /*!< No output */
STDOUT, /*!< Print to stdout */
STDERR, /*!< Print to stderr */
FILE /*!< Print to a file */
};

Parameters

  • returns (output_location_t) The output location

Example

output_location_t location = out->getOutputLocation();
#include <sst/core/output.h>