Signal repository structure.
More...
#include <Signal.h>
|
| Repository () |
| Construct.
|
|
| ~Repository () |
| Destruct.
|
|
long | Size () |
| Size of bulk data (i.e. number of elemments of m_data)
|
|
double * | Data () |
| Reference to data repository.
|
|
double * | Times () |
| Reference to time point repository.
|
|
const long | Samples () const |
| Number of samples.
|
|
const int | Compartments () const |
| Number of compartments.
|
|
const int | NProps () const |
| Number of properties per compartment.
|
|
const double | TP (long l) const |
| Time of given sample index.
|
|
double & | TP (long l) |
| Reference to time of given sample index.
|
|
const long | Position (long l) const |
| Reference to data of given sample index.
|
|
const void | Initialize (long samples, int compartments) |
| Occupy RAM and set some dimensions.
|
|
double & | operator[] (long pos) |
| Value at position in store.
|
|
const double | operator[] (long pos) const |
| Access to position in store.
|
|
double & | at (long pos) |
| Value at position in store.
|
|
const double | at (long pos) const |
| Access to position in store.
|
|
Signal repository structure.
◆ at() [1/2]
double & Repository::at |
( |
long | pos | ) |
|
|
inline |
Value at position in store.
- Parameters
-
- Returns
- Reference to pos-th value in the store
◆ at() [2/2]
const double Repository::at |
( |
long | pos | ) |
const |
|
inline |
Access to position in store.
- Parameters
-
- Returns
- Reference to pos-th value in the store
◆ Compartments()
const int Repository::Compartments |
( |
| ) |
const |
|
inline |
Number of compartments.
- Returns
- Number of compartments
◆ Data()
double * Repository::Data |
( |
| ) |
|
|
inline |
Reference to data repository.
- Returns
- Refernce to data repository
◆ NProps()
const int Repository::NProps |
( |
| ) |
const |
|
inline |
Number of properties per compartment.
- Returns
- Number of properties per compartment
◆ operator[]() [1/2]
double & Repository::operator[] |
( |
long | pos | ) |
|
|
inline |
Value at position in store.
- Parameters
-
- Returns
- Reference to pos-th value in the store
◆ operator[]() [2/2]
const double Repository::operator[] |
( |
long | pos | ) |
const |
|
inline |
Access to position in store.
- Parameters
-
- Returns
- Reference to pos-th value in the store
◆ Samples()
const long Repository::Samples |
( |
| ) |
const |
|
inline |
Number of samples.
- Returns
- Number of samples
◆ Size()
long Repository::Size |
( |
| ) |
|
|
inline |
Size of bulk data (i.e. number of elemments of m_data)
- Returns
- Size
◆ Times()
double * Repository::Times |
( |
| ) |
|
|
inline |
Reference to time point repository.
- Returns
- Refernce to time point repository
◆ TP() [1/2]
double & Repository::TP |
( |
long | l | ) |
|
|
inline |
Reference to time of given sample index.
- Returns
- reference to the time point of given sample index
◆ TP() [2/2]
const double Repository::TP |
( |
long | l | ) |
const |
|
inline |
Time of given sample index.
- Returns
- Time of given sample index
◆ m_data
std::vector<double> Repository::m_data |
◆ m_noofsamples
long Repository::m_noofsamples |
◆ m_times
std::vector<double> Repository::m_times |
The documentation for this struct was generated from the following file:
- /Users/stoeckert/DZNE/workspace/jemris/src/Signal.h