#include <Dimension.hh>
FrameCPP::Version_6::Dimension::Dimension |
( |
| ) |
|
FrameCPP::Version_6::Dimension::Dimension |
( |
const Dimension & |
dim | ) |
|
exc: std::bad_alloc - Memory allocation failed.
param: const Dimension& dim - The Dimension to copy from.
exc: std::bad_alloc - Memory allocation failed.
FrameCPP::Version_6::Dimension::Dimension |
( |
INT_8U |
nx, |
|
|
REAL_8 |
dx = 1.0 , |
|
|
const std::string & |
unitX = "" , |
|
|
REAL_8 |
startx = 0.0 |
|
) |
| |
|
explicit |
exc: std::bad_alloc - Memory allocation failed.
Constructor.
This creates a Dimension object with the specified attributes.
- Parameters
-
[in] | nx | The dimension length. |
[in] | dx | The Scale Factor. |
[in] | unitX | The units (unit per step size). |
[in] | startx | The origin of the data set. |
- Exceptions
-
std::bad_alloc | Memory allocation failed. |
FrameCPP::Version_6::Dimension::Dimension |
( |
const Previous::Dimension & |
Source | ) |
|
|
inline |
REAL_8 FrameCPP::Version_6::Dimension::GetDx |
( |
| ) |
const |
|
inline |
exc: None.
return: REAL_8 – The scale factor.
exc: None.
INT_8U FrameCPP::Version_6::Dimension::GetNx |
( |
| ) |
const |
|
inline |
exc: None.
return: INT_8U – The dimension length.
exc: None.
REAL_8 FrameCPP::Version_6::Dimension::GetStartX |
( |
| ) |
const |
|
inline |
exc: None.
return: REAL_8 – Data set origin.
exc: None.
const STRING & FrameCPP::Version_6::Dimension::GetUnitX |
( |
| ) |
const |
|
inline |
exc: None.
return: const std::string& – The units.
exc: None.
bool FrameCPP::Version_6::Dimension::operator!= |
( |
const Dimension & |
dim | ) |
const |
|
inline |
param: const Dimension& dim - The object to compare with.
return: bool – false if the objects are equal, true otherwise. exc: None.
return: bool - false if the objects are equal, true otherwise. exc: None.
param: const Dimension& dim - The object to assign from.
return: const Dimension& – This object. exc: std::bad_alloc - Memory allocation failed.
return: const Dimension& - This object. exc: std::bad_alloc - Memory allocation failed.
bool FrameCPP::Version_6::Dimension::operator== |
( |
const Dimension & |
dim | ) |
const |
|
inline |
param: const Dimension& dim - The object to compare with.
return: bool – true if the objects are equal, false otherwise. exc: None.
return: bool - true if the objects are equal, false otherwise. exc: None.
void FrameCPP::Version_6::Dimension::SetNx |
( |
INT_8U |
Nx | ) |
|
|
inline |
The documentation for this class was generated from the following files: