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

#include <SDDSVariable.h>

Collaboration diagram for sameSDDSVariable:
Collaboration graph
[legend]

Public Member Functions

 sameSDDSVariable (const std::string &base_filename)
 
Expressions::Result_t operator() (client::function::arguments_t args)
 

Private Attributes

client::function::argument_t stat_filename_
 
SDDSVariable var_
 

Detailed Description

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

Definition at line 114 of file SDDSVariable.h.

Constructor & Destructor Documentation

◆ sameSDDSVariable()

sameSDDSVariable::sameSDDSVariable ( const std::string &  base_filename)
inline

Definition at line 115 of file SDDSVariable.h.

References stat_filename_.

Member Function Documentation

◆ operator()()

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

Definition at line 125 of file SDDSVariable.h.

References stat_filename_, and var_.

Member Data Documentation

◆ stat_filename_

client::function::argument_t sameSDDSVariable::stat_filename_
private

Definition at line 138 of file SDDSVariable.h.

Referenced by operator()(), and sameSDDSVariable().

◆ var_

SDDSVariable sameSDDSVariable::var_
private

Definition at line 139 of file SDDSVariable.h.

Referenced by operator()().


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