PTag Class Reference
Detailed Description
#include <PTag.h>
Constructor & Destructor Documentation
◆ PTag() [1/2]
PTag::PTag | ( | ) |
Constructs an empty collection of subjects.
◆ PTag() [2/2]
PTag::PTag | ( | const PTag & | other | ) |
Constructs a shallow copy.
◆ ~PTag()
|
override |
Destroys this object.
Member Function Documentation
◆ GetColour()
PColour3i PTag::GetColour | ( | ) | const |
Returns the tag colour.
◆ GetDatabaseId()
int32 PTag::GetDatabaseId | ( | ) | const |
Returns the tag database ID.
◆ GetId()
PGuid PTag::GetId | ( | ) | const |
Returns the tag unique ID.
◆ GetName()
PString PTag::GetName | ( | ) | const |
Returns the tag name.
◆ GetThreshold()
double PTag::GetThreshold | ( | ) | const |
Returns the threshold.
◆ GetTopN()
int32 PTag::GetTopN | ( | ) | const |
Returns the top_n.
◆ operator!=()
bool PTag::operator!= | ( | const PTag & | other | ) | const |
Returns true if other is equal to this.
◆ operator==()
bool PTag::operator== | ( | const PTag & | other | ) | const |
Returns true if other is equal to this.
◆ SetColour()
void PTag::SetColour | ( | const PColour3i & | colour | ) |
Sets the tag colour.
◆ SetDatabaseId()
void PTag::SetDatabaseId | ( | int32 | databaseId | ) |
Sets the tag database ID.
◆ SetId()
void PTag::SetId | ( | const PGuid & | id | ) |
Sets the tag unique ID.
◆ SetName()
void PTag::SetName | ( | const PString & | name | ) |
Sets the tag name.
◆ SetThreshold()
void PTag::SetThreshold | ( | double | threshold | ) |
Sets the threshold.
◆ SetTopN()
void PTag::SetTopN | ( | int32 | topN | ) |
Sets the top_n.