HProperty Class Reference
Father class for all property holder classes.
More...
#include <HPropert.h>
Inheritance diagram for HProperty:
[legend]Collaboration diagram for HProperty:
[legend]List of all members.
Detailed Description
Father class for all property holder classes.
Classes under HProperty hold the actual property information. In other words, holds the actual values of the property. Since each instance of a plugin holds different values for the same property, the HProperty derived classes should be declared inside the instance and not inside the application as is the case for HPropertyInfo derived classes
HProperty and its derived classes are used to transfer values between the pluging application and the user interface. Hproperty derived classes only hold the value. Their UI manipulation context is supplied through an associated HPropertyInfo derived class.
- Note:
- In order for the HProperty derived class property to show in the property panel of the PWS, the HProperty must be assigned an index through the DLLPlugin::GetPropertyAt.
- See also:
- HPropertyInfo, DLLPlugin::GetPropertyAt
Definition at line 82 of file HPropert.h.
Member Function Documentation
int HProperty::Compare |
( |
const HProperty * |
other, |
|
|
BOOL |
dochildren = TRUE |
|
) |
|
|
|
returns 0 => EQUAL, 1 => NOT EQUAL |
void HProperty::Copy |
( |
const HProperty * |
other |
) |
|
|
BOOL HProperty::GetFirstRelationKey |
( |
|
) |
|
|
int HProperty::GetIndex |
( |
|
) |
const |
|
BOOL HProperty::GetNextRelationKey |
( |
|
) |
|
|
BOOL HProperty::GetPrevRelationKey |
( |
BOOL * |
pHasKey |
) |
|
|
|
Retrieves the HPropertyInfo that holds all UI context information for the manipulation of the HProperty |
BOOL HProperty::IsDefaultValue |
( |
|
) |
const |
|
BOOL HProperty::IsDynamic |
( |
|
) |
|
|
BOOL HProperty::IsNull |
( |
|
) |
|
|
|
Check if the Property is set.
In an Attributes set of a material for example, a property may be left unset by the user so that the model or the group property is used instead of the material property. If a particular property is left unset, then this function returns TRUE. |
BOOL HProperty::IsNullable |
( |
|
) |
|
|
BOOL HProperty::IsUserProperty |
( |
|
) |
|
|
void HProperty::SetIsDynamic |
( |
BOOL |
isdynamic |
) |
|
|
void HProperty::SetNull |
( |
BOOL |
state = TRUE , |
|
|
HAnimObject * |
animob = NULL |
|
) |
|
|
void HProperty::SetNullable |
( |
BOOL |
isnullable |
) |
|
|
BOOL HProperty::Show |
( |
BOOL |
bShow = TRUE |
) |
|
|
|
Show or hide the property in the PWS property panel. It is thus possible to have invisible properties that might be used to hold computed and persistent information.
Calling Show will invalidate the tree and thus force a redraw of the PWS. |
String HProperty::ToString |
( |
|
) |
|
|
The documentation for this class was generated from the following files:
This A:M SDK v12.0 documentation is maintained by Hash Inc.
Please address any comments concerning this documentation to AMReports.
If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.
Generated on Thu Oct 27 11:46:57 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001