Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ifbeam_ns::BeamFolder Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/ifbeam/v2_4_4/Linux64bit+3.10-2.17-e17-p2715a-debug/src/ifbeam.h"

Inheritance diagram for ifbeam_ns::BeamFolder:
ifbeam_ns::BeamFolderScanner

Public Member Functions

void set_epsilon (double e)
 
int time_eq (double x, double y)
 
 BeamFolder (std::string bundle_name, std::string url="", double time_width=1200.0)
 
 ~BeamFolder ()
 
void FillCache (double time)
 
void GetNamedData (double from_time, std::string variable_list,...)
 
std::vector< double > GetNamedVector (double when, std::string variable_name, double *actual_time=0)
 
double GetCacheStartTime ()
 
double GetCacheEndTime ()
 
std::vector< double > GetTimeList ()
 
std::vector< std::stringGetDeviceList ()
 
void setValidWindow (double)
 
double getValidWindow ()
 

Static Public Attributes

static int _debug
 

Protected Member Functions

Tuple cachedGetTuple (int n)
 
double slot_time (int n)
 
std::string slot_var (int n)
 
double slot_value (int n, int j)
 
void find_name (int &first_time_slot, double &first_time, int &search_slot, std::string curvar)
 
void find_first (int &first_time_slot, double &first_time, double when)
 

Protected Attributes

double _time_width
 
std::string _bundle_name
 
std::string _url
 
bool _throw_on_empty
 
double _cache_start
 
double _cache_end
 
int _cache_slot
 
double _cache_slot_time
 
Dataset _values
 
Tuple _cur_row
 
int _cur_row_num
 
int _n_values
 
int _values_column
 
double _valid_window
 
double _epsilon
 

Detailed Description

Definition at line 14 of file ifbeam.h.

Constructor & Destructor Documentation

ifbeam_ns::BeamFolder::BeamFolder ( std::string  bundle_name,
std::string  url = "",
double  time_width = 1200.0 
)
ifbeam_ns::BeamFolder::~BeamFolder ( )

Member Function Documentation

Tuple ifbeam_ns::BeamFolder::cachedGetTuple ( int  n)
protected
void ifbeam_ns::BeamFolder::FillCache ( double  time)
void ifbeam_ns::BeamFolder::find_first ( int first_time_slot,
double &  first_time,
double  when 
)
protected
void ifbeam_ns::BeamFolder::find_name ( int first_time_slot,
double &  first_time,
int search_slot,
std::string  curvar 
)
protected
double ifbeam_ns::BeamFolder::GetCacheEndTime ( )
inline

Definition at line 73 of file ifbeam.h.

References _cache_end, GetDeviceList(), GetTimeList(), getValidWindow(), and setValidWindow().

73 { return _cache_end; };
double ifbeam_ns::BeamFolder::GetCacheStartTime ( )
inline

Definition at line 72 of file ifbeam.h.

References _cache_start.

72 { return _cache_start; };
double _cache_start
Definition: ifbeam.h:24
std::vector<std::string> ifbeam_ns::BeamFolder::GetDeviceList ( )

Referenced by GetCacheEndTime().

void ifbeam_ns::BeamFolder::GetNamedData ( double  from_time,
std::string  variable_list,
  ... 
)
std::vector<double> ifbeam_ns::BeamFolder::GetNamedVector ( double  when,
std::string  variable_name,
double *  actual_time = 0 
)
std::vector<double> ifbeam_ns::BeamFolder::GetTimeList ( )

Referenced by GetCacheEndTime().

double ifbeam_ns::BeamFolder::getValidWindow ( )

Referenced by GetCacheEndTime().

void ifbeam_ns::BeamFolder::set_epsilon ( double  e)
void ifbeam_ns::BeamFolder::setValidWindow ( double  )

Referenced by GetCacheEndTime().

double ifbeam_ns::BeamFolder::slot_time ( int  n)
protected
double ifbeam_ns::BeamFolder::slot_value ( int  n,
int  j 
)
protected
std::string ifbeam_ns::BeamFolder::slot_var ( int  n)
protected
int ifbeam_ns::BeamFolder::time_eq ( double  x,
double  y 
)

Member Data Documentation

std::string ifbeam_ns::BeamFolder::_bundle_name
protected

Definition at line 18 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_cache_end
protected

Definition at line 25 of file ifbeam.h.

Referenced by GetCacheEndTime().

int ifbeam_ns::BeamFolder::_cache_slot
protected

Definition at line 28 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_cache_slot_time
protected

Definition at line 29 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_cache_start
protected

Definition at line 24 of file ifbeam.h.

Referenced by GetCacheStartTime().

Tuple ifbeam_ns::BeamFolder::_cur_row
protected

Definition at line 36 of file ifbeam.h.

int ifbeam_ns::BeamFolder::_cur_row_num
protected

Definition at line 37 of file ifbeam.h.

int ifbeam_ns::BeamFolder::_debug
static

Definition at line 60 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_epsilon
protected

Definition at line 53 of file ifbeam.h.

int ifbeam_ns::BeamFolder::_n_values
protected

Definition at line 41 of file ifbeam.h.

bool ifbeam_ns::BeamFolder::_throw_on_empty
protected

Definition at line 20 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_time_width
protected

Definition at line 17 of file ifbeam.h.

std::string ifbeam_ns::BeamFolder::_url
protected

Definition at line 19 of file ifbeam.h.

double ifbeam_ns::BeamFolder::_valid_window
protected

Definition at line 51 of file ifbeam.h.

Dataset ifbeam_ns::BeamFolder::_values
protected

Definition at line 35 of file ifbeam.h.

int ifbeam_ns::BeamFolder::_values_column
protected

Definition at line 43 of file ifbeam.h.


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