This class extends TCSlice functionality for non-constant case. More...
#include <MED_SliceArray.hxx>

Public Types | |
| typedef TValueType | value_type | 
| typedef TCSlice< TValueType > | TSupperClass | 
Public Member Functions | |
| TSlice (value_type *theValuePtr, size_t theSourceSize, const std::slice &theSlice) | |
| Construct the class from bare pointer.  More... | |
| TSlice (TVector< value_type > &theContainer, const std::slice &theSlice) | |
| Construct the class from corresponding container.  More... | |
| TSlice () | |
| Default constructor (dangerous)  More... | |
| value_type & | operator[] (size_t theId) | 
| Get element by its number.  More... | |
| value_type & | at (size_t theId) | 
| const value_type & | operator[] (size_t theId) const | 
| Get element by its number (const version)  More... | |
| const value_type & | at (size_t theId) const | 
| size_t | size () const | 
| Get range of the order numbers.  More... | |
Protected Member Functions | |
| void | check_id (size_t theId) const | 
| size_t | calculate_id (size_t theId) const | 
| Calculate internal index to get proper element from the source multidimensional data.  More... | |
| size_t | get_id (size_t theId) const | 
| size_t | get_id_at (size_t theId) const | 
Private Attributes | |
| TValueType * | myValuePtr | 
This class extends 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)
      
  | 
  inherited | 
| value_type& MED::TSlice< TValueType >::at | ( | size_t | theId | ) | 
      
  | 
  protectedinherited | 
Calculate internal index to get proper element from the source multidimensional data.
References MED::TCSlice< TValueType >::mySlice.
Referenced by MED::TCSlice< TValueType >::get_id(), and MED::TCSlice< TValueType >::get_id_at().
      
  | 
  protectedinherited | 
References MED::TCSlice< TValueType >::mySlice, and MED::TCSlice< TValueType >::mySourceSize.
Referenced by MED::TCSlice< TValueType >::get_id(), and MED::TCSlice< TValueType >::get_id_at().
      
  | 
  protectedinherited | 
References MED::TCSlice< TValueType >::calculate_id(), and MED::TCSlice< TValueType >::check_id().
Referenced by MED::TCSlice< TValueType >::operator[](), and MED::TSlice< TValueType >::operator[]().
      
  | 
  protectedinherited | 
References MED::TCSlice< TValueType >::calculate_id(), and MED::TCSlice< TValueType >::check_id().
Referenced by MED::TCSlice< TValueType >::at(), and MED::TSlice< TValueType >::at().
      
  | 
  inherited | 
Get element by its number (const version)
References MED::TCSlice< TValueType >::get_id(), and MED::TCSlice< TValueType >::myCValuePtr.
| value_type& MED::TSlice< TValueType >::operator[] | ( | size_t | theId | ) | 
Get element by its number.
References MED::TCSlice< TValueType >::get_id(), and MED::TSlice< TValueType >::myValuePtr.
      
  | 
  inherited | 
Get range of the order numbers.
References MED::TCSlice< TValueType >::mySlice.
Referenced by MED::GetBaryCenter(), MED::TWrapper::GetPPolyedreInfo(), MED::TWrapper::GetPPolygoneInfo(), MED::TShapeFun::IsSatisfy(), and DriverMED_R_SMESHDS_Mesh::Perform().
      
  | 
  private | 
Referenced by MED::TSlice< TValueType >::at(), and MED::TSlice< TValueType >::operator[]().