Base class for multiple state properties.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CPropertyState :public virtual IPropertyState, public CProperty
{
public:
int getStateCount() override;
String getState(const int index) override;
ExportPrefixType getStatePrefixType() override;
String getStatePrefix() override;
CPropertyState(
IPropertyList *list, // List of properties to which this property belongs
IClass *parent, // Parent object which property this one describes
const String &name, // Property name
const String &handler, // Property handler name
FSkip skip, // Function checking if the property could be skipped when saving in Form Builder. Could be nullptr
const bool read_only, // Whether the property is read only
const StringArray &states, // List of state names
const ExportPrefixType state_prefix_type, // Type of prefix which should be added to state name when exporting into form prototype header file
const String &state_prefix); // Additional prefix which should be added to state name when exporting into form prototype header file
};
Namespace: | nitisa |
Include: | Nitisa/Package/Core/PropertyState.h |