ldas-tools-framecpp
2.5.8
|
Dimension information for a Vect. More...
#include <Dimension.hh>
Public Types | |
typedef INT_4U | nx_type |
typedef REAL_8 | dx_type |
typedef REAL_8 | startX_type |
Public Member Functions | |
Dimension () | |
exc: None. More... | |
Dimension (const Dimension &dim) | |
Copy constructor. More... | |
Dimension (const Previous::Dimension &dim) | |
exc: std::bad_alloc - Memory allocation failed. More... | |
Dimension (nx_type nx, dx_type dx=1.0, const std::string &unitX="", startX_type startX=0.0) | |
Constructor. More... | |
const Dimension & | operator= (const Dimension &dim) |
Assignment operator. More... | |
bool | operator== (const Dimension &dim) const |
Equal comparison. More... | |
bool | operator!= (const Dimension &dim) const |
Not equal comparison. More... | |
nx_type | GetNx () const |
exc: None. More... | |
dx_type | GetDx () const |
exc: None. More... | |
startX_type | GetStartX () const |
exc: None. More... | |
const STRING & | GetUnitX () const |
exc: None. More... | |
void | SetNx (nx_type Nx) |
cmn_streamsize_type | Bytes () const |
Dimension information for a Vect.
This is a simple class storing dimension information for a Vect object. It stores the following:
typedef REAL_8 FrameCPP::Version_4::Dimension::dx_type |
typedef INT_4U FrameCPP::Version_4::Dimension::nx_type |
typedef REAL_8 FrameCPP::Version_4::Dimension::startX_type |
FrameCPP::Version_4::Dimension::Dimension | ( | ) |
exc: None.
FrameCPP::Version_4::Dimension::Dimension | ( | const Dimension & | dim | ) |
Copy constructor.
This creates a Dimension object with the specified attributes.
[in] | dim | The source from which to construct the new object. |
std::bad_alloc | Memory allocation failed. |
|
inline |
exc: std::bad_alloc - Memory allocation failed.
|
explicit |
Constructor.
This creates a Dimension object with the specified attributes.
[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. |
std::bad_alloc | Memory allocation failed. |
|
inline |
|
inline |
exc: None.
Get the scale factor.
|
inline |
exc: None.
Get the dimension length.
|
inline |
exc: None.
Get data set origin.
|
inline |
exc: None.
Get the units.
|
inline |
Not equal comparison.
[in] | dim | The object to compare with. |
Assignment operator.
[in] | dim | The object to assign from. |
std::bad_alloc | Memory allocation failed. |
[in] | dim | The object to assign from. |
|
inline |
Equal comparison.
[in] | dim | The object to compare with. |
|
inline |