|
ldas-tools-framecpp 3.0.4
|
Dimension information for a Vect. More...
#include <Dimension.hh>

Public Types | |
| typedef INT_4U | nx_type |
| typedef REAL_8 | dx_type |
| typedef INT_4U | nx_type |
| typedef REAL_8 | dx_type |
Public Member Functions | |
| Dimension () | |
| Default Constructor. | |
| Dimension (const Dimension &dim) | |
| Copy constructor. | |
| Dimension (nx_type nx, dx_type dx=1.0, const std::string &unitX="") | |
| Constructor. | |
| const Dimension & | operator= (const Dimension &dim) |
| Assignment operator. | |
| bool | operator== (const Dimension &dim) const |
| Equal comparison. | |
| bool | operator!= (const Dimension &dim) const |
| Not equal comparison. | |
| nx_type | GetNx () const |
| Get the dimension length. | |
| dx_type | GetDx () const |
| Get the scale factor. | |
| const STRING & | GetUnitX () const |
| Get the units. | |
| void | SetDx (dx_type Dx) |
| Set sample spacing. | |
| void | SetNx (nx_type Nx) |
| void | SetUnitX (const STRING &UnitX) |
| Set scale factor in ASCII. | |
| cmn_streamsize_type | Bytes () const |
| Dimension () | |
| Dimension (const Dimension &dim) | |
| Dimension (nx_type nx, dx_type dx=1.0, const std::string &unitX="") | |
| const Dimension & | operator= (const Dimension &dim) |
| Assignment operator. | |
| bool | operator== (const Dimension &dim) const |
| Equal comparison. | |
| bool | operator!= (const Dimension &dim) const |
| Not equal comparison. | |
| nx_type | GetNx () const |
| dx_type | GetDx () const |
| const STRING & | GetUnitX () const |
| void | SetDx (dx_type Dx) |
| Set sample spacing. | |
| void | SetNx (nx_type Nx) |
| void | SetUnitX (const STRING &UnitX) |
| Set scale factor in ASCII. | |
| cmn_streamsize_type | Bytes () const |
Private Attributes | |
| nx_type | mNx |
| Dimension length. | |
| dx_type | mDx |
| Scale factor. | |
| STRING | mUnitX |
| Scale factor in ASCII. | |
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_3::Dimension::dx_type |
| typedef REAL_8 FrameCPP::Version_3::Dimension::dx_type |
| typedef INT_4U FrameCPP::Version_3::Dimension::nx_type |
| typedef INT_4U FrameCPP::Version_3::Dimension::nx_type |
| FrameCPP::Version_3::Dimension::Dimension | ( | ) |
Default Constructor.
This creates a dimension object with the following values:
Dimension Length (Nx) - 1 Scale Factor (Dx) - 1.0 Units (UnitX) - ""
| FrameCPP::Version_3::Dimension::Dimension | ( | const Dimension & | dim | ) |
Copy constructor.
| std::bad_alloc | Memory allocation failed. |
| [ion] | dim - The Dimension to copy from. |
\excpetion std::bad_alloc Memory allocation failed.
|
explicit |
Constructor.
\excpetion std::bad_alloc Memory allocation failed.
This creates a Dimension object with the specified attributes.
| [in] | nx | The dimension length. |
| [in] | dx | The Scale Factor. Default: 1.0 |
| [in] | unitX | The units (unit per step size). |
| std::bad_alloc | Memory allocation failed. |
| FrameCPP::Version_3::Dimension::Dimension | ( | ) |
| FrameCPP::Version_3::Dimension::Dimension | ( | const Dimension & | dim | ) |
| std::bad_alloc | Memory allocation failed. |
|
explicit |
\excpetion std::bad_alloc Memory allocation failed.
|
inline |
| cmn_streamsize_type FrameCPP::Version_3::Dimension::Bytes | ( | ) | const |
|
inline |
Get the scale factor.
| dx_type FrameCPP::Version_3::Dimension::GetDx | ( | ) | const |
|
inline |
Get the dimension length.
| nx_type FrameCPP::Version_3::Dimension::GetNx | ( | ) | const |
|
inline |
Get the units.
| const STRING & FrameCPP::Version_3::Dimension::GetUnitX | ( | ) | const |
|
inline |
Not equal comparison.
| [in] | dim | - The object to compare with. |
| [in] | dim | The object to compare with. |
| bool FrameCPP::Version_3::Dimension::operator!= | ( | const Dimension & | dim | ) | const |
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. |
Assignment operator.
| [in] | dim | The object to assign from. |
| std::bad_alloc | Memory allocation failed. |
|
inline |
Equal comparison.
| [in] | dim | - The object to compare with. |
| [in] | dim | The object to compare with. |
| bool FrameCPP::Version_3::Dimension::operator== | ( | const Dimension & | dim | ) | const |
Equal comparison.
| [in] | dim | - The object to compare with. |
|
inline |
Set sample spacing.
Establish a new value for sample spacing along the coordinate.
| [in] | Dx | The new sample rate for the coordinate. |
| void FrameCPP::Version_3::Dimension::SetDx | ( | dx_type | Dx | ) |
Set sample spacing.
| [in] | Dx | The new sample rate for the coordinate. |
|
inline |
| void FrameCPP::Version_3::Dimension::SetNx | ( | nx_type | Nx | ) |
|
inline |
Set scale factor in ASCII.
Establish a new value for sample spacing along the coordinate.
| [in] | UnitX | The new scale factor description. |
| void FrameCPP::Version_3::Dimension::SetUnitX | ( | const STRING & | UnitX | ) |
Set scale factor in ASCII.
| [in] | UnitX | The new scale factor description. |
|
private |
Scale factor.
|
private |
Scale factor in ASCII.