Meta generated from a classifier.
Definition at line 126 of file metadata.hpp.


Public Types | |
| typedef std::unique_ptr< AbstractIterator< ClassifierMetadata > > | Iterator |
Public Member Functions | |
| ClassifierMetadata (void *data=nullptr) | |
| Constructor through opaque data pointer. More... | |
| virtual | ~ClassifierMetadata () |
| Destructor. More... | |
| unsigned int | nLabels () const |
| Number of the lables generated by the classifier. More... | |
| unsigned int | uniqueComponentId () const |
| Identifying the unique component that generates the metadata. More... | |
| std::string | getLabel (unsigned int nth) const |
| Get the nth label. More... | |
| virtual | operator bool () |
| operator to check if a metadata is void More... | |
Protected Attributes | |
| void * | data_ |
| typedef std::unique_ptr<AbstractIterator<ClassifierMetadata> > deepstream::ClassifierMetadata::Iterator |
Definition at line 128 of file metadata.hpp.
| deepstream::ClassifierMetadata::ClassifierMetadata | ( | void * | data = nullptr | ) |
Constructor through opaque data pointer.
By default an empty classifier metadata object is created.
|
virtual |
Destructor.
| std::string deepstream::ClassifierMetadata::getLabel | ( | unsigned int | nth | ) | const |
Get the nth label.
| unsigned int deepstream::ClassifierMetadata::nLabels | ( | ) | const |
Number of the lables generated by the classifier.
|
inlinevirtualinherited |
operator to check if a metadata is void
Reimplemented in deepstream::UserMetadata.
Definition at line 51 of file metadata.hpp.
References deepstream::Metadata::data_.
| unsigned int deepstream::ClassifierMetadata::uniqueComponentId | ( | ) | const |
Identifying the unique component that generates the metadata.
|
protectedinherited |
Definition at line 54 of file metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().