PDescriptionList.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Digital Barriers plc. All rights reserved.
3  * Contact: http://www.digitalbarriers.com/
4  *
5  * This file is part of the Papillon SDK.
6  *
7  * You can't use, modify or distribute any part of this file without
8  * the explicit written agreements of Digital Barriers.
9  */
10 
15 #pragma once
16 #include <PList.h>
17 
18 PAPILLON_BEGIN_NAMESPACE
19 
20 class PDescription;
21 class PSizei;
22 class PRectanglef;
23 
30 class PAPILLON_API_CORE PDescriptionList : public PList
31 {
32 public:
36  PDescriptionList(papillon::int32 size = 0);
37 
41  PDescriptionList(const PDescriptionList& other);
42 
46  virtual ~PDescriptionList();
47 
52 
57  PDescription Get(papillon::int32 n) const;
58 
62  PResult Get(papillon::int32 n, PDescription& description);
63 };
64 
65 PAPILLON_END_NAMESPACE
66 
Class PList: an ordered collection (also known as a sequence) of heterogeneous Papillon objects...
The PSizei class represents the size of an image or a rectangle: width (int) and height (int); PSizei...
Definition: PSizei.h:27
The PDescription class represents a set of features that have been computed on an identity (it is a b...
Definition: PDescription.h:59
The PResult class represents the result returned by most of Papillon functions; this class is used to...
Definition: PResult.h:159
The PList class represents a generic container which handle an ordered collection of PObject; NOT thr...
Definition: PList.h:46
PList & operator=(const PList &other)
Performs a shared copy of other to this object.
The PRectanglef class represents an axis-aligned rectangle with float coordinates; PRectanglef instan...
Definition: PRectanglef.h:34
PResult Get(papillon::int32 index, PObject &element) const
Gets the element at the specified index; the index must be valid.
The PDescriptionList class represents nothing more than a collection of descriptions (PDescription)...