Drive Engine  1.0.0
Plateforme de reconstruction 3D
IDescriptor.h
1 // Copyright (c) 2015. All rights reserved to DriveEngine Team.
2 
3 #pragma once
4 
5 #include "IDatatype.h"
6 #include "Typedefs.h"
7 
8 namespace DriveEngine
9 {
15  class IDescriptor : public IDatatype
16  {
17  public:
18 
35  virtual void SetBuffer(const char* content, Size length) = 0;
36 
51  virtual const char* GetBuffer() const = 0;
52 
63  virtual Size GetBufferSize() const = 0;
64 
80  virtual const char* GetType() const = 0;
81  };
82 }
virtual const char * GetType() const =0
Gets the descriptor type.
The feature descriptor datatype interface.
Definition: IDescriptor.h:15
virtual Size GetBufferSize() const =0
Gets the buffer size.
virtual void SetBuffer(const char *content, Size length)=0
Sets buffer.
virtual const char * GetBuffer() const =0
Gets the buffer of descriptor.
Definition: DefaultCalibrationInfoList.h:12
The datatype interface.
Definition: IDatatype.h:18