This class extend TCSlice functionality for non-constant case. More...
#include <MED_SliceArray.hxx>
Public Types | |
typedef TCSlice< TValueType > | TSupperClass |
typedef TValueType | value_type |
Public Types inherited from MED::TCSlice< TValueType > | |
typedef TValueType | value_type |
Public Member Functions | |
value_type & | at (size_t theId) |
value_type & | operator[] (size_t theId) |
Get element by its number. More... | |
TSlice () | |
Default constructor (dangerous) More... | |
TSlice (TVector< value_type > &theContainer, const std::slice &theSlice) | |
Construct the class from corresponding container. More... | |
TSlice (value_type *theValuePtr, size_t theSourceSize, const std::slice &theSlice) | |
Construct the class from bare pointer. More... | |
Public Member Functions inherited from MED::TCSlice< TValueType > | |
const value_type & | at (size_t theId) const |
const value_type & | operator[] (size_t theId) const |
Get element by its number (const version) More... | |
size_t | size () const |
Get range of the order numbers. More... | |
TCSlice () | |
Default constructor (dangerous) More... | |
TCSlice (const TVector< value_type > &theContainer, const std::slice &theSlice) | |
Construct the class from corresponding container. More... | |
TCSlice (const value_type *theValuePtr, size_t theSourceSize, const std::slice &theSlice) | |
Construct the class from bare pointer. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MED::TCSlice< TValueType > | |
size_t | calculate_id (size_t theId) const |
Calculate internal index to get proper element from the source multy-dimension data. More... | |
void | check_id (size_t theId) const |
size_t | get_id (size_t theId) const |
size_t | get_id_at (size_t theId) const |
This class extend TCSlice functionality for non-constant case.
typedef TCSlice<TValueType> MED::TSlice< TValueType >::TSupperClass |
typedef TValueType MED::TSlice< TValueType >::value_type |
MED::TSlice< TValueType >::TSlice | ( | value_type * | theValuePtr, |
size_t | theSourceSize, | ||
const std::slice & | theSlice | ||
) |
Construct the class from bare pointer.
MED::TSlice< TValueType >::TSlice | ( | TVector< value_type > & | theContainer, |
const std::slice & | theSlice | ||
) |
Construct the class from corresponding container.
MED::TSlice< TValueType >::TSlice | ( | ) |
Default constructor (dangerous)
value_type & MED::TSlice< TValueType >::at | ( | size_t | theId | ) |
References MED::TCSlice< TValueType >::get_id_at().
value_type & MED::TSlice< TValueType >::operator[] | ( | size_t | theId | ) |
Get element by its number.
References MED::TCSlice< TValueType >::get_id().