MCPcopy Create free account
hub / github.com/Kitware/VTK / ConvertToStorageType

Function ConvertToStorageType

Common/DataModel/vtkCellArray.h:550–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548 bool ConvertToFixedSizeDefaultStorage();
549 bool ConvertToSmallestStorage();
550 bool ConvertToStorageType(StorageTypes type)
551 {
552 switch (type)
553 {
554 case StorageTypes::Int32:
555 return this->ConvertTo32BitStorage();
556 case StorageTypes::Int64:
557 return this->ConvertTo64BitStorage();
558 case StorageTypes::FixedSizeInt32:
559 return this->ConvertToFixedSize32BitStorage();
560 case StorageTypes::FixedSizeInt64:
561 return this->ConvertToFixedSize64BitStorage();
562 case StorageTypes::Generic:
563 default:
564 return true;
565 }
566 }
567 /**@}*/
568
569 /**

Callers

nothing calls this directly

Tested by

no test coverage detected