Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::IStaticDescriptorStorage Struct Referenceabstract

Static descriptor storage interface. More...

#include <IIndex.h>

Inheritance diagram for fsdk::IStaticDescriptorStorage:
fsdk::IDenseIndex fsdk::IDynamicDescriptorStorage fsdk::IDynamicIndex fsdk::IIndexBuilder

Public Member Functions

virtual Result< FSDKErrordescriptorByIndex (const DescriptorId index, IDescriptor *descriptor) const noexcept=0
 Requests descriptor data out of internal storage. More...
 
virtual uint64_t size () const noexcept=0
 Return size of internal storage. More...
 

Detailed Description

Static descriptor storage interface.

You may think of it as read only access to some internal container.

Member Function Documentation

virtual Result<FSDKError> fsdk::IStaticDescriptorStorage::descriptorByIndex ( const DescriptorId  index,
IDescriptor descriptor 
) const
pure virtualnoexcept

Requests descriptor data out of internal storage.

Parameters
indexIdentification value of some descriptor. Might be received either by using
See Also
IDynamicDescriptorStorage::append methods, or as output of
IIndex::search query. Must be less than
size().
Parameters
descriptorPtr to created descriptor object with correctly set version and length. Only changes data of passed descriptor.
Returns
One of the error codes specified by
See Also
FSDKError.
virtual uint64_t fsdk::IStaticDescriptorStorage::size ( ) const
pure virtualnoexcept

Return size of internal storage.

Returns
Size of internal storage. If not initialized, 0 is returned.

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