SILAS  Simulation of Large Scale Applications
Public Member Functions
Config Class Reference

#include <SilasConfig.h>

List of all members.

Public Member Functions

 Config ()
virtual ~Config ()
virtual bool is_type (std::string type)
void set_input_trace (std::string name)
std::string get_input_trace ()
void set_output_trace (std::string name)
std::string get_output_trace ()

Detailed Description

A container class for the simulator configuration


Constructor & Destructor Documentation

Config ( )

Constructor for the configuration

~Config ( ) [virtual]

Standard destructor for the configuration


Member Function Documentation

string get_input_trace ( )

Get the input trace name

Returns:
Filename of the input trace
string get_output_trace ( )

Get the output trace name

Returns:
Filename of the output trace
bool is_type ( std::string  type) [virtual]

Check if this configuration is of a certain type;

Parameters:
typeString identifier of a certain config type
void set_input_trace ( std::string  name)

Set the input trace name

Parameters:
nameFilename of the input trace
void set_output_trace ( std::string  name)

Set the output trace name

Parameters:
nameFilename of the output trace

SCALASCA    Copyright © 1998–2008 Forschungszentrum Jülich, Jülich Supercomputing Centre