OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
SDDSVariable Struct Reference

#include <SDDSVariable.h>

Public Member Functions

Expressions::Result_t operator() (client::function::arguments_t args)
 

Static Public Attributes

static const std::string name
 

Private Attributes

std::string var_name_
 
std::string stat_filename_
 
std::string ref_name_
 
double ref_val_
 

Detailed Description

A simple expression to get SDDS (filename) value near a specific position (ref_val, default: spos) of a reference variable (ref_name) for a variable (var_name). Possible argument orders: args = [var_name, ref_val, filename] args = [var_name, ref_name, ref_val, filename]

Definition at line 24 of file SDDSVariable.h.

Member Function Documentation

Expressions::Result_t SDDSVariable::operator() ( client::function::arguments_t  args)
inline

Definition at line 28 of file SDDSVariable.h.

References Physics::e, endl(), ref_name_, ref_val_, stat_filename_, var_name_, and SDDSParserException::what().

Here is the call graph for this function:

Member Data Documentation

const std::string SDDSVariable::name
static

Definition at line 26 of file SDDSVariable.h.

std::string SDDSVariable::ref_name_
private

Definition at line 83 of file SDDSVariable.h.

Referenced by operator()().

double SDDSVariable::ref_val_
private

Definition at line 84 of file SDDSVariable.h.

Referenced by operator()().

std::string SDDSVariable::stat_filename_
private

Definition at line 82 of file SDDSVariable.h.

Referenced by operator()().

std::string SDDSVariable::var_name_
private

Definition at line 81 of file SDDSVariable.h.

Referenced by operator()().


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