Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IDescriptor Class Referenceabstract

The feature descriptor datatype interface. More...

#include <IDescriptor.h>

Inheritance diagram for DriveEngine::IDescriptor:
DriveEngine::IDatatype IExportable

Public Member Functions

virtual void SetBuffer (const char *content, Size length)=0
 Sets buffer. More...
 
virtual const char * GetBuffer () const =0
 Gets the buffer of descriptor. More...
 
virtual Size GetBufferSize () const =0
 Gets the buffer size. More...
 
virtual const char * GetType () const =0
 Gets the descriptor type. More...
 
- Public Member Functions inherited from IExportable
virtual void Delete () const =0
 Deletes the current object. Needed for memory management. More...
 

Detailed Description

The feature descriptor datatype interface.

This interface is not defined.

Member Function Documentation

virtual const char* DriveEngine::IDescriptor::GetBuffer ( ) const
pure virtual

Gets the buffer of descriptor.

The buffer can be null. If it is null then it was not initialized.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Returns
The buffer.
virtual Size DriveEngine::IDescriptor::GetBufferSize ( ) const
pure virtual

Gets the buffer size.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Returns
The buffer size.
virtual const char* DriveEngine::IDescriptor::GetType ( ) const
pure virtual

Gets the descriptor type.

The type is unknown at framework level. It is the responsability of developper to establish the type of descriptor.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Returns
The descriptor's type.
virtual void DriveEngine::IDescriptor::SetBuffer ( const char *  content,
Size  length 
)
pure virtual

Sets buffer.

The content of buffer can be of different formats. Actually the feature extractor and matching algorithmes must know the intern format of the buffer.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
contentThe content of buffer of descriptor.
lengthThe size of content.

The documentation for this class was generated from the following file: