Skip to content

Commit

Permalink
clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nyoungbq committed Oct 24, 2023
1 parent 2e11d34 commit 7e63311
Show file tree
Hide file tree
Showing 29 changed files with 47 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,7 @@ class IOHandler
} // namespace

// -----------------------------------------------------------------------------
ReadDeformKeyFileV12::ReadDeformKeyFileV12(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel,
ReadDeformKeyFileV12InputValues* inputValues)
ReadDeformKeyFileV12::ReadDeformKeyFileV12(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel, ReadDeformKeyFileV12InputValues* inputValues)
: m_DataStructure(dataStructure)
, m_InputValues(inputValues)
, m_ShouldCancel(shouldCancel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ std::array<float, 6> CreateMinMaxCoords()
} // End anonymous namespace

ReadStlFile::ReadStlFile(DataStructure& data, fs::path stlFilePath, const DataPath& geometryPath, const DataPath& faceGroupPath, const DataPath& faceNormalsDataPath, bool scaleOutput,
float32 scaleFactor, const std::atomic_bool& shouldCancel)
float32 scaleFactor, const std::atomic_bool& shouldCancel)
: m_DataStructure(data)
, m_FilePath(std::move(stlFilePath))
, m_GeometryDataPath(geometryPath)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inline const int32 k_VolBinaryAllocateMismatch = -91504;

// -----------------------------------------------------------------------------
ReadVolumeGraphicsFile::ReadVolumeGraphicsFile(DataStructure& dataStructure, const IFilter::MessageHandler& msgHandler, const std::atomic_bool& shouldCancel,
ReadVolumeGraphicsFileInputValues* inputValues)
ReadVolumeGraphicsFileInputValues* inputValues)
: m_DataStructure(dataStructure)
, m_InputValues(inputValues)
, m_ShouldCancel(shouldCancel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ void deleteFile(const std::vector<std::string>& fileNames)

// -----------------------------------------------------------------------------
WriteAbaqusHexahedron::WriteAbaqusHexahedron(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel,
WriteAbaqusHexahedronInputValues* inputValues)
WriteAbaqusHexahedronInputValues* inputValues)
: m_DataStructure(dataStructure)
, m_InputValues(inputValues)
, m_ShouldCancel(shouldCancel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using namespace complex;

// -----------------------------------------------------------------------------
WriteAvizoRectilinearCoordinate::WriteAvizoRectilinearCoordinate(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel,
AvizoWriterInputValues* inputValues)
AvizoWriterInputValues* inputValues)
: AvizoWriter(dataStructure, mesgHandler, shouldCancel, inputValues)
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace complex;

// -----------------------------------------------------------------------------
WriteAvizoUniformCoordinate::WriteAvizoUniformCoordinate(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel,
AvizoWriterInputValues* inputValues)
AvizoWriterInputValues* inputValues)
: AvizoWriter(dataStructure, mesgHandler, shouldCancel, inputValues)
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ struct WriteVtkDataArrayFunctor

// -----------------------------------------------------------------------------
WriteVtkRectilinearGrid::WriteVtkRectilinearGrid(DataStructure& dataStructure, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel,
WriteVtkRectilinearGridInputValues* inputValues)
WriteVtkRectilinearGridInputValues* inputValues)
: m_DataStructure(dataStructure)
, m_InputValues(inputValues)
, m_ShouldCancel(shouldCancel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ IFilter::UniquePointer ReadBinaryCTNorthstarFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadBinaryCTNorthstarFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pInputHeaderFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_InputHeaderFile_Key);
auto pImageGeometryPathValue = filterArgs.value<DataPath>(k_ImageGeometryPath_Key);
Expand Down Expand Up @@ -524,7 +524,7 @@ IFilter::PreflightResult ReadBinaryCTNorthstarFilter::preflightImpl(const DataSt

//------------------------------------------------------------------------------
Result<> ReadBinaryCTNorthstarFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
ReadBinaryCTNorthstarInputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ IFilter::PreflightResult ReadDREAM3DFilter::preflightImpl(const DataStructure& d
}

Result<> ReadDREAM3DFilter::executeImpl(DataStructure& dataStructure, const Arguments& args, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
return {};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ IFilter::UniquePointer ReadDeformKeyFileV12Filter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadDeformKeyFileV12Filter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pInputFilePathValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_InputFilePath_Key);

Expand Down Expand Up @@ -170,7 +170,7 @@ IFilter::PreflightResult ReadDeformKeyFileV12Filter::preflightImpl(const DataStr

//------------------------------------------------------------------------------
Result<> ReadDeformKeyFileV12Filter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
ReadDeformKeyFileV12InputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ IFilter::UniquePointer ReadHDF5Dataset::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadHDF5Dataset::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pImportHDF5FileValue = filterArgs.value<ImportHDF5DatasetParameter::ValueType>(k_ImportHDF5File_Key);
auto pSelectedAttributeMatrixValue = pImportHDF5FileValue.parent;
Expand Down Expand Up @@ -313,7 +313,7 @@ IFilter::PreflightResult ReadHDF5Dataset::preflightImpl(const DataStructure& dat

//------------------------------------------------------------------------------
Result<> ReadHDF5Dataset::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pImportHDF5FileValue = filterArgs.value<ImportHDF5DatasetParameter::ValueType>(k_ImportHDF5File_Key);
auto pSelectedAttributeMatrixValue = pImportHDF5FileValue.parent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ IFilter::UniquePointer ReadRawBinaryFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadRawBinaryFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pInputFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_InputFile_Key);
auto pScalarTypeValue = filterArgs.value<NumericType>(k_ScalarType_Key);
Expand Down Expand Up @@ -166,7 +166,7 @@ IFilter::PreflightResult ReadRawBinaryFilter::preflightImpl(const DataStructure&

//------------------------------------------------------------------------------
Result<> ReadRawBinaryFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
ReadRawBinaryInputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ IFilter::UniquePointer ReadStlFileFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadStlFileFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pStlFilePathValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_StlFilePath_Key);
auto pTriangleGeometryPath = filterArgs.value<DataPath>(k_TriangleGeometryName_Key);
Expand Down Expand Up @@ -172,7 +172,7 @@ IFilter::PreflightResult ReadStlFileFilter::preflightImpl(const DataStructure& d

//------------------------------------------------------------------------------
Result<> ReadStlFileFilter::executeImpl(DataStructure& data, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pStlFilePathValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_StlFilePath_Key);
auto pTriangleGeometryPath = filterArgs.value<DataPath>(k_TriangleGeometryName_Key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ IFilter::UniquePointer ReadVolumeGraphicsFileFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult ReadVolumeGraphicsFileFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pVGHeaderFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_VGHeaderFile_Key);
auto pNewImageGeometryPathValue = filterArgs.value<DataPath>(k_NewImageGeometry_Key);
Expand Down Expand Up @@ -446,7 +446,7 @@ IFilter::PreflightResult ReadVolumeGraphicsFileFilter::preflightImpl(const DataS

//------------------------------------------------------------------------------
Result<> ReadVolumeGraphicsFileFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{

ReadVolumeGraphicsFileInputValues inputValues;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ IFilter::UniquePointer WriteAbaqusHexahedronFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult WriteAbaqusHexahedronFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pHourglassStiffnessValue = filterArgs.value<int32>(k_HourglassStiffness_Key);
auto pJobNameValue = filterArgs.value<StringParameter::ValueType>(k_JobName_Key);
Expand Down Expand Up @@ -105,7 +105,7 @@ IFilter::PreflightResult WriteAbaqusHexahedronFilter::preflightImpl(const DataSt

//------------------------------------------------------------------------------
Result<> WriteAbaqusHexahedronFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
WriteAbaqusHexahedronInputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ IFilter::UniquePointer WriteAvizoRectilinearCoordinateFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult WriteAvizoRectilinearCoordinateFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pOutputFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_OutputFile_Key);
auto pWriteBinaryFileValue = filterArgs.value<bool>(k_WriteBinaryFile_Key);
Expand All @@ -90,7 +90,7 @@ IFilter::PreflightResult WriteAvizoRectilinearCoordinateFilter::preflightImpl(co

//------------------------------------------------------------------------------
Result<> WriteAvizoRectilinearCoordinateFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
AvizoWriterInputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ IFilter::UniquePointer WriteAvizoUniformCoordinateFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult WriteAvizoUniformCoordinateFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pOutputFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_OutputFile_Key);
auto pWriteBinaryFileValue = filterArgs.value<bool>(k_WriteBinaryFile_Key);
Expand All @@ -90,7 +90,7 @@ IFilter::PreflightResult WriteAvizoUniformCoordinateFilter::preflightImpl(const

//------------------------------------------------------------------------------
Result<> WriteAvizoUniformCoordinateFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
AvizoWriterInputValues inputValues;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ IFilter::PreflightResult WriteDREAM3DFilter::preflightImpl(const DataStructure&

//------------------------------------------------------------------------------
Result<> WriteDREAM3DFilter::executeImpl(DataStructure& dataStructure, const Arguments& args, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto exportFilePath = args.value<std::filesystem::path>(k_ExportFilePath);
auto writeXdmf = args.value<bool>(k_WriteXdmf);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ IFilter::UniquePointer WriteFeatureDataCSVFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult WriteFeatureDataCSVFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
PreflightResult preflightResult;

Expand All @@ -89,7 +89,7 @@ IFilter::PreflightResult WriteFeatureDataCSVFilter::preflightImpl(const DataStru

//------------------------------------------------------------------------------
Result<> WriteFeatureDataCSVFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pOutputFilePath = filterArgs.value<FileSystemPathParameter::ValueType>(k_FeatureDataFile_Key);
auto pWriteNeighborListDataValue = filterArgs.value<bool>(k_WriteNeighborListData_Key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ IFilter::UniquePointer WriteLosAlamosFFTFilter::clone() const

//------------------------------------------------------------------------------
IFilter::PreflightResult WriteLosAlamosFFTFilter::preflightImpl(const DataStructure& dataStructure, const Arguments& filterArgs, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
auto pOutputFileValue = filterArgs.value<FileSystemPathParameter::ValueType>(k_OutputFile_Key);
auto pFeatureIdsArrayPathValue = filterArgs.value<DataPath>(k_FeatureIdsArrayPath_Key);
Expand All @@ -103,7 +103,7 @@ IFilter::PreflightResult WriteLosAlamosFFTFilter::preflightImpl(const DataStruct

//------------------------------------------------------------------------------
Result<> WriteLosAlamosFFTFilter::executeImpl(DataStructure& dataStructure, const Arguments& filterArgs, const PipelineFilter* pipelineNode, const MessageHandler& messageHandler,
const std::atomic_bool& shouldCancel) const
const std::atomic_bool& shouldCancel) const
{
WriteLosAlamosFFTInputValues inputValues;

Expand Down
Loading

0 comments on commit 7e63311

Please sign in to comment.