dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
include
dca
ipr_classification
ipr_classification_results.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 IPR_CLASSIFICATION_RESULTS_H
7
#define IPR_CLASSIFICATION_RESULTS_H
8
15
namespace
dca_ipr {
16
17
class
iprclassification_results_p;
18
28
class
IprClassificationResults
{
29
public
:
31
IprClassificationResults
();
32
IprClassificationResults
(
const
IprClassificationResults
& aResults );
33
IprClassificationResults
& operator = (
const
IprClassificationResults
& aResults );
34
virtual
~
IprClassificationResults
();
36
41
bool
isCategorized
()
const
;
42
47
DCA_SIZE_TYPE
size
()
const
;
48
54
IprClassificationResult
at
(
DCA_INDEX_TYPE
index )
const
;
55
61
IprClassificationResult
operator[]
(
DCA_INDEX_TYPE
index )
const
;
62
64
PRIVATE_PTR
iprclassification_results_p *_p;
65
};
66
67
68
}
69
70
#endif
dca_ipr::IprClassificationResults::at
IprClassificationResult at(DCA_INDEX_TYPE index) const
Returns the classification result with the given index.
dca_ipr::IprClassificationResult
The result item of a IPR classification.
Definition:
ipr_classification_result.h:26
dca_ipr::IprClassificationResults::size
DCA_SIZE_TYPE size() const
Returns the number of classification results.
dca_ipr::IprClassificationResults
Definition of the IprClassificationResults class.
Definition:
ipr_classification_results.h:28
DCA_INDEX_TYPE
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition:
base_types.h:66
dca_ipr::IprClassificationResults::operator[]
IprClassificationResult operator[](DCA_INDEX_TYPE index) const
Identical to the at() function but allows a more C++ style access.
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
dca_ipr::IprClassificationResults::isCategorized
bool isCategorized() const
If the classification returned a result this function returns true.
Generated by
1.8.18