| Face Engine SDK 4.9.0 A face detection, recognition and tracking engine.

Public Member Functions | List of all members
fsdk::IStaticDescriptorStorage Struct Referenceabstract

Static descriptor storage interface. More...

`#include <IIndex.h>`

Inheritance diagram for fsdk::IStaticDescriptorStorage:

## Public Member Functions
virtual Result< FSDKError > | descriptorByIndex (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

## ◆ descriptorByIndex()

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

Requests descriptor data out of internal storage.

Parameters

  index | Identification 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

  descriptor | Ptr 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.

## ◆ size()

virtual uint64_t fsdk::IStaticDescriptorStorage::size | ( |  | ) | const
| pure virtual noexcept

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:

- include/fsdk/IIndex.h