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

Function CanConvertToStorageType

Common/DataModel/vtkCellArray.h:508–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 bool CanConvertToFixedSize64BitStorage() const;
507 bool CanConvertToFixedSizeDefaultStorage() const;
508 bool CanConvertToStorageType(StorageTypes type) const
509 {
510 switch (type)
511 {
512 case StorageTypes::Int32:
513 return this->CanConvertTo32BitStorage();
514 case StorageTypes::Int64:
515 return this->CanConvertTo64BitStorage();
516 case StorageTypes::FixedSizeInt32:
517 return this->CanConvertToFixedSize32BitStorage();
518 case StorageTypes::FixedSizeInt64:
519 return this->CanConvertToFixedSize64BitStorage();
520 case StorageTypes::Generic:
521 default:
522 return true;
523 }
524 }
525 /**@}*/
526
527 /**

Callers

nothing calls this directly

Tested by

no test coverage detected