MED::TSlice< TValueType > Class Template Reference
This class extend TCSlice functionality for non-constant case. More...
#include <MED_SliceArray.hxx>
Public Types | |
typedef TCSlice< TValueType > TSupperClass | |
typedef TValueType value_type | |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
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 | |
Detailed Description
template<class TValueType>
class MED::TSlice< TValueType >
This class extend TCSlice functionality for non-constant case.
Member Typedef Documentation
◆ TSupperClass
template<class TValueType >
typedef TCSlice<TValueType> MED::TSlice< TValueType >::TSupperClass |
◆ value_type
template<class TValueType >
typedef TValueType MED::TSlice< TValueType >::value_type |
Constructor & Destructor Documentation
◆ TSlice() [1/3]
template<class TValueType >
MED::TSlice< TValueType >::TSlice | ( | value_type * | theValuePtr, |
size_t | theSourceSize, | ||
const std::slice & | theSlice | ||
) |
Construct the class from bare pointer.
◆ TSlice() [2/3]
template<class TValueType >
MED::TSlice< TValueType >::TSlice | ( | TVector< value_type > & | theContainer, |
const std::slice & | theSlice | ||
) |
Construct the class from corresponding container.
◆ TSlice() [3/3]
template<class TValueType >
MED::TSlice< TValueType >::TSlice | ( | ) |
Default constructor (dangerous)
Member Function Documentation
◆ at()
template<class TValueType >
value_type& MED::TSlice< TValueType >::at | ( | size_t | theId | ) |
References MED::TCSlice< TValueType >::get_id_at().
◆ operator[]()
template<class TValueType >
value_type& MED::TSlice< TValueType >::operator[] | ( | size_t | theId | ) |
Get element by its number.
References MED::TCSlice< TValueType >::get_id().
The documentation for this class was generated from the following file:
- src/3rdParty/salomesmesh/inc/MED_SliceArray.hxx