dca_interface  6.3.4
dca_malware::MalwareLocales Class Reference

#include <malware_locales.h>

Detailed Description

Definition of a container class for MalwareLocale objects.

See also
MalwareCategoriesInfo, MalwareLocale

Definition at line 32 of file malware_locales.h.

Public Member Functions

MalwareLocale at (DCA_INDEX_TYPE index) const
 Returns the MalwareLocale with given index. More...
 
MalwareLocale 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 locales in the container. More...
 

Member Function Documentation

◆ at()

MalwareLocale dca_malware::MalwareLocales::at ( DCA_INDEX_TYPE  index) const

Returns the MalwareLocale with given index.

Parameters
[in]indexThe index of the locale. Range is from 0 to size() - 1
Returns
A Malware locale object for the given index in the container.

◆ operator[]()

MalwareLocale dca_malware::MalwareLocales::operator[] ( DCA_INDEX_TYPE  index) const

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

Parameters
[in]indexThe index of the locale. Range is from 0 to size() - 1
Returns
A Malware locale object for the given index in the container.

◆ size()

DCA_SIZE_TYPE dca_malware::MalwareLocales::size ( ) const

Returns the number of locales 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: