dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
include
dca
malware_classification
malware_locales.h
Go to the documentation of this file.
1
/* IBM Source Code */
2
/* (C) Copyright IBM Corp. 2009, 2012 */
3
/* Licensed Materials - Property of IBM */
4
/* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5
6
#ifndef MALWARE_LOCALES_H
7
#define MALWARE_LOCALES_H
8
21
namespace
dca_malware {
22
23
class
malwarelocales_p;
24
25
class
MalwareLocale;
26
32
class
MalwareLocales
33
{
34
public
:
36
MalwareLocales
();
37
MalwareLocales
(
const
MalwareLocales
& locales );
38
MalwareLocales
& operator = (
const
MalwareLocales
& locales );
39
virtual
~
MalwareLocales
();
41
47
MalwareLocale
at
(
DCA_INDEX_TYPE
index )
const
;
53
MalwareLocale
operator []
(
DCA_INDEX_TYPE
index )
const
;
58
DCA_SIZE_TYPE
size
()
const
;
59
61
PRIVATE_PTR
malwarelocales_p *_p;
62
};
63
64
}
65
66
#endif
dca_malware::MalwareLocale
Encapsulation of a locale class, which allows access to the language id and the display name of local...
Definition:
malware_locale.h:27
dca_malware::MalwareLocales::operator[]
MalwareLocale operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
dca_malware::MalwareLocales::at
MalwareLocale at(DCA_INDEX_TYPE index) const
Returns the MalwareLocale with given index.
dca_malware::MalwareLocales::size
DCA_SIZE_TYPE size() const
Returns the number of locales in the container.
dca_malware::MalwareLocales
Definition of a container class for MalwareLocale objects.
Definition:
malware_locales.h:33
DCA_INDEX_TYPE
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition:
base_types.h:66
DCA_SIZE_TYPE
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
Definition:
base_types.h:72
PRIVATE_PTR
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition:
base_types.h:83
Generated by
1.8.18