Skip to content

Commit

Permalink
Format the whole codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Tools authored and franzpoeschel committed Jul 7, 2021
1 parent 1ec26fe commit b9079f6
Show file tree
Hide file tree
Showing 155 changed files with 19,182 additions and 17,734 deletions.
7 changes: 2 additions & 5 deletions include/openPMD/ChunkInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include <vector>


namespace openPMD
{
/**
Expand All @@ -43,8 +42,7 @@ struct ChunkInfo
explicit ChunkInfo() = default;
ChunkInfo( Offset, Extent );

bool
operator==( ChunkInfo const & other ) const;
bool operator==( ChunkInfo const & other ) const;
};

/**
Expand All @@ -71,8 +69,7 @@ struct WrittenChunkInfo : ChunkInfo
WrittenChunkInfo( Offset, Extent, int sourceID );
WrittenChunkInfo( Offset, Extent );

bool
operator==( WrittenChunkInfo const & other ) const;
bool operator==( WrittenChunkInfo const & other ) const;
};

using ChunkTable = std::vector< WrittenChunkInfo >;
Expand Down
13 changes: 6 additions & 7 deletions include/openPMD/Dataset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
#include "openPMD/Datatype.hpp"

#include <memory>
#include <string>
#include <type_traits>
#include <vector>
#include <string>


namespace openPMD
{
Expand All @@ -38,7 +37,7 @@ class Dataset
friend class RecordComponent;

public:
Dataset(Datatype, Extent, std::string options = "{}");
Dataset( Datatype, Extent, std::string options = "{}" );

/**
* @brief Constructor that sets the datatype to undefined.
Expand All @@ -48,10 +47,10 @@ class Dataset
*/
Dataset( Extent );

Dataset& extend(Extent newExtent);
Dataset& setChunkSize(Extent const&);
Dataset& setCompression(std::string const&, uint8_t const);
Dataset& setCustomTransform(std::string const&);
Dataset & extend( Extent newExtent );
Dataset & setChunkSize( Extent const & );
Dataset & setCompression( std::string const &, uint8_t const );
Dataset & setCustomTransform( std::string const & );

Extent extent;
Datatype dtype;
Expand Down
Loading

0 comments on commit b9079f6

Please sign in to comment.