Commit c483f045 authored by Jørgen Lind's avatar Jørgen Lind
Browse files

Make GetLayoutDescriptor a public function

parent 33712fed
......@@ -20,6 +20,7 @@
#include <OpenVDS/VolumeDataChannelDescriptor.h>
#include <OpenVDS/VolumeDataAxisDescriptor.h>
#include <OpenVDS/VolumeDataLayoutDescriptor.h>
#include <OpenVDS/Metadata.h>
namespace OpenVDS
......@@ -45,6 +46,9 @@ public:
virtual int GetChannelIndex(const char *channelName) const = 0; ///< Returns the index of a the channel with the given name
virtual VolumeDataLayoutDescriptor
GetLayoutDescriptor() const = 0; ///< Returns the descriptor for the layout
virtual VolumeDataChannelDescriptor
GetChannelDescriptor(int channel) const = 0; ///< Returns the descriptor for the given channel index
......
......@@ -118,7 +118,7 @@ public:
int32_t ChangePendingWriteRequestCount(int32_t nDifference);
void CompletePendingWriteChunkRequests(int32_t nMaxPendingWriteChunkRequests) const;
VolumeDataLayoutDescriptor GetLayoutDescriptor() const;
VolumeDataLayoutDescriptor GetLayoutDescriptor() const override;
int32_t GetChannelCount() const override { return int32_t(m_volumeDataChannelDescriptor.size()); }
bool IsChannelAvailable(const char *channelName) const override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment