PDescriptionList Class Reference
Detailed Description
The PDescriptionList class represents nothing more than a collection of descriptions (PDescription), Typically PDescriptionList's are returned from a PDescriber.
Definition at line 30 of file PDescriptionList.h.
#include <PDescriptionList.h>
Constructor & Destructor Documentation
◆ PDescriptionList() [1/2]
PDescriptionList::PDescriptionList | ( | papillon::int32 | size = 0 | ) |
Constructs an list of descriptions.
◆ PDescriptionList() [2/2]
PDescriptionList::PDescriptionList | ( | const PDescriptionList & | other | ) |
Constructs a shared copy of other.
◆ ~PDescriptionList()
|
virtual |
Destroys this object.
Member Function Documentation
◆ Get() [1/2]
PDescription PDescriptionList::Get | ( | papillon::int32 | n | ) | const |
Returns the nth description of this list or a empty description if n is not the valid range.
◆ Get() [2/2]
PResult PDescriptionList::Get | ( | papillon::int32 | n, |
PDescription & | description | ||
) |
Returns the nth description of this list.
◆ operator=()
PDescriptionList& PDescriptionList::operator= | ( | const PDescriptionList & | other | ) |
Performs a shared copy of other to this object.