Face Engine SDK 5.25.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
fsdk::IDataStorageObject Struct Referenceabstract

Data storage object interface helper. More...

#include <IObject.h>

Inheritance diagram for fsdk::IDataStorageObject:
fsdk::ISerializableObject fsdk::IRefCounted fsdk::IDescriptor fsdk::IDescriptorBatch

Public Member Functions

virtual void clear () noexcept=0
 Clear object data.
 
virtual IRefCountedgetParentObject () const noexcept=0
 Get parent object (one that has created this).
 
- Public Member Functions inherited from fsdk::ISerializableObject
virtual void getSize (Sizer &sizer, uint32_t flags=Default) const noexcept=0
 Estimate size of this object binary data.
 
virtual Result< Errorload (IArchive *archive, uint32_t flags=Default)=0
 Load object from archive.
 
virtual Result< Errorsave (IArchive *archive, uint32_t flags=Default) const =0
 Save object to archive.
 
- Public Member Functions inherited from fsdk::IRefCounted
virtual int32_t retain () noexcept=0
 Increase strong reference count.
 
virtual int32_t retainLocked () noexcept=0
 Increase strong reference count thread safely.
 
virtual int32_t release () noexcept=0
 Decrease strong reference count.
 
virtual int32_t getRefCount () const noexcept=0
 Get actual strong reference count.
 
virtual int32_t retainWeak () noexcept=0
 Increase weak reference count.
 
virtual int32_t releaseWeak () noexcept=0
 Decrease weak reference count.
 
virtual int32_t getWeakRefCount () const noexcept=0
 Get actual weak reference count.
 

Additional Inherited Members

- Public Types inherited from fsdk::ISerializableObject
enum class  Error : uint32_t {
  Ok , Size , Signature , ArchiveRead ,
  InputArchive , ArchiveWrite
}
 Serialization nerror codes. More...
 
enum  Flags { Default = 0 , NoSignature = 1 }
 Serialization flags. More...
 

Detailed Description

Data storage object interface helper.

Member Function Documentation

◆ clear()

virtual void fsdk::IDataStorageObject::clear ( )
pure virtualnoexcept

Clear object data.

Note
This does not necessarily mean deallocation; it is defined by implementation how to manage data memory.

◆ getParentObject()

virtual IRefCounted * fsdk::IDataStorageObject::getParentObject ( ) const
pure virtualnoexcept

Get parent object (one that has created this).

Note
Any returned interfaces will have their reference count incremented by one, so be sure to call release() on the returned pointer(s) before they are freed or else you will have a memory leak.
Returns
pointer to the parent object.

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