42 #ifndef vtkXMLOffsetsManager_DoNotInclude 
   43 #error "do not include unless you know what you are doing" 
   46 #ifndef vtkXMLOffsetsManager_h 
   47 #define vtkXMLOffsetsManager_h 
   64     assert(numTimeStep > 0);
 
   65     this->Positions.resize(numTimeStep);
 
   66     this->RangeMinPositions.resize(numTimeStep);
 
   67     this->RangeMaxPositions.resize(numTimeStep);
 
   68     this->OffsetValues.resize(numTimeStep);
 
   72     assert(t < this->Positions.size());
 
   73     return this->Positions[t];
 
   77     assert(t < this->RangeMinPositions.size());
 
   78     return this->RangeMinPositions[t];
 
   82     assert(t < this->RangeMaxPositions.size());
 
   83     return this->RangeMaxPositions[t];
 
   87     assert(t < this->OffsetValues.size());
 
   88     return this->OffsetValues[t];
 
   99   std::vector<vtkTypeInt64> Positions;
 
  100   std::vector<vtkTypeInt64> RangeMinPositions; 
 
  101   std::vector<vtkTypeInt64> RangeMaxPositions; 
 
  103   std::vector<vtkTypeInt64> OffsetValues; 
 
  118     assert(index < this->Internals.size());
 
  135     assert(numElements >= 0); 
 
  136     this->Internals.resize(numElements);
 
  140     assert(numElements >= 0); 
 
  141     assert(numTimeSteps > 0);
 
  142     this->Internals.resize(numElements);
 
  143     for (
int i = 0; i < numElements; i++)
 
  145       this->Internals[i].Allocate(numTimeSteps);
 
  150   std::vector<OffsetsManager> Internals;
 
  159     assert(index < this->Internals.size());
 
  160     return this->Internals[
index];
 
  164     assert(numPieces > 0);
 
  166     this->Internals.resize(0);
 
  167     this->Internals.resize(numPieces);
 
  169   void Allocate(
int numPieces, 
int numElements, 
int numTimeSteps)
 
  171     assert(numPieces > 0);
 
  172     assert(numElements > 0);
 
  173     assert(numTimeSteps > 0);
 
  176     this->Internals.resize(0);
 
  177     this->Internals.resize(numPieces);
 
  178     for (
int i = 0; i < numPieces; i++)
 
  180       this->Internals[i].Allocate(numElements, numTimeSteps);
 
  185   std::vector<OffsetsManagerGroup> Internals;