dca_interface  6.3.4
dca_malware::MalwareClassificationResults Class Reference

#include <malware_classification_results.h>

Detailed Description

Results of a Malware classification.

See also
MalwareDbClassifier, MalwareClassification

Definition at line 25 of file malware_classification_results.h.

Public Member Functions

MalwareClassificationResult at (DCA_INDEX_TYPE index) const
 Returns one result of the matched results (if any) with the given index. More...
 
MalwareClassificationResult operator[] (DCA_INDEX_TYPE index) const
 Similar to at() but allows a more C++ style access. More...
 
DCA_SIZE_TYPE size () const
 Returns the number of results in the container. More...
 
bool isUnknownMalware () const
 Returns whether a Malware is known or unknown. A Malware is unknown if it is not contained in the database.
 
bool isCategorized () const
 Returns whether or not the Malware matched one or more categories.
 

Member Function Documentation

◆ at()

MalwareClassificationResult dca_malware::MalwareClassificationResults::at ( DCA_INDEX_TYPE  index) const

Returns one result of the matched results (if any) with the given index.

Parameters
[in]indexThe index of the MalwareClassificationResult. Range is from 0 to size() - 1
Returns
The result item for the given index in the container.
Exceptions
ExDcaOne of the following error codes (available by using ExDca::getReturnCode() in your catch-handler)

◆ operator[]()

MalwareClassificationResult dca_malware::MalwareClassificationResults::operator[] ( DCA_INDEX_TYPE  index) const

Similar to at() but allows a more C++ style access.

Parameters
[in]indexThe index of the MalwareClassificationResult. Range is from 0 to size() - 1
Returns
The result item for the given index in the container.
Exceptions
ExDcaOne of the following error codes (available by using ExDca::getReturnCode() in your catch-handler)

◆ size()

DCA_SIZE_TYPE dca_malware::MalwareClassificationResults::size ( ) const

Returns the number of results in the container.

Returns
The size of the container or 0 if the container is empty.

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