SST/macro
|
#include <sprockit/debug.h>
#include <sprockit/unordered.h>
#include <iostream>
#include <list>
#include <vector>
#include <set>
Go to the source code of this file.
Functions | |
DeclareDebugSlot (params) DeclareDebugSlot(read_params) DeclareDebugSlot(write_params) namespace sprockit | |
DeclareDebugSlot | ( | params | ) |
In a parallel environment (abstracted through a param_bcaster object), have rank 0 read params from a file and bcast result to all other ranks
params | A parameter object (already allocated) |
me | The rank of the calling process |
nproc | The total number of ranks |
filename | |
bcaster |
Return the value of the keyword if it exists. Otherwise return a default value.
key | gives the keyword |
def | gives the default value (used if has_param(key) is false) |
Return the value of the keyword if it exists. Otherwise return a default value.
key | gives the keyword |
def | gives the default value (used if has_param(key) is false) |
Returns the value of the key as a boolean.
Return the value of the keyword if it exists. Otherwise return a default value.
key | gives the keyword |
def | gives the default value (used if has_param(key) is false) |
key | The parameter name |
Return the value of the keyword if it exists. Otherwise return a default value.
key | gives the keyword |
def | gives the default value (used if has_param(key) is false) |
Return the value of the keyword if it exists. Otherwise return a default value.
key | gives the keyword |
def | gives the default value (used if has_param(key) is false) |
key | |
value | |
fail_on_existing | Fail if the parameter named by key already exists |
Definition at line 24 of file sim_parameters.h.
References get_bool_param(), get_double_param(), get_int_param(), get_long_param(), get_optional_bool_param(), get_optional_double_param(), get_optional_int_param(), get_optional_long_param(), get_optional_param(), and get_param().