The wxPropertyValue class represents the value of a property, and is normally associated with a wxProperty object.
A wxPropertyValue has one of the following types:
Members
wxPropertyValue::wxPropertyValue
wxPropertyValue::~wxPropertyValue
wxPropertyValue::Append
wxPropertyValue::BoolValue
wxPropertyValue::BoolValuePtr
wxPropertyValue::ClearList
wxPropertyValue::Delete
wxPropertyValue::GetFirst
wxPropertyValue::GetLast
wxPropertyValue::GetModified
wxPropertyValue::GetNext
wxPropertyValue::GetStringRepresentation
wxPropertyValue::IntegerValue
wxPropertyValue::Insert
wxPropertyValue::IntegerValuePtr
wxPropertyValue::Nth
wxPropertyValue::Number
wxPropertyValue::RealValue
wxPropertyValue::RealValuePtr
wxPropertyValue::SetModified
wxPropertyValue::StringValue
wxPropertyValue::StringValuePtr
wxPropertyValue::Type
wxPropertyValue::operator =
void wxPropertyValue()
Default constructor.
void wxPropertyValue(const wxPropertyValue& copyFrom)
Copy constructor.
void wxPropertyValue(char *val)
Construction from a string value.
void wxPropertyValue(long val)
Construction from an integer value. You may need to cast to (long) to avoid confusion with other constructors (such as the bool constructor).
void wxPropertyValue(bool val)
Construction from a boolean value.
void wxPropertyValue(float val)
Construction from a floating point value.
void wxPropertyValue(double val)
Construction from a floating point value.
void wxPropertyValue(wxList * val)
Construction from a list of wxPropertyValue objects. The list, but not each contained wxPropertyValue, will be deleted by the constructor. The wxPropertyValues will be assigned to this wxPropertyValue list. In other words, so do not delete wxList or its data after calling this constructor.
void wxPropertyValue(wxStringList * val)
Construction from a list of strings. The list (including the strings contained in it) will be deleted by the constructor, so do not destroy val explicitly.
void wxPropertyValue(char **val)
Construction from a string pointer.
void wxPropertyValue(long *val)
Construction from an integer pointer.
void wxPropertyValue(bool *val)
Construction from an boolean pointer.
void wxPropertyValue(float *val)
Construction from a floating point pointer.
The last four constructors use pointers to various C++ types, and do not store the types themselves; this allows the values to stand in for actual data values defined elsewhere.
void ~wxPropertyValue()
Destructor.
void Append(wxPropertyValue *expr)
Appends a property value to the list.
bool BoolValue()
Returns the boolean value.
bool * BoolValuePtr()
Returns the pointer to the boolean value.
void ClearList()
Deletes the contents of the list.
void Delete(wxPropertyValue *expr)
Deletes expr from this list.
wxPropertyValue * GetFirst()
Gets the first value in the list.
wxPropertyValue * GetFirst()
Gets the last value in the list.
bool GetModified()
Returns TRUE if the value was modified since being created (or since SetModified was called).
wxPropertyValue * GetNext()
Gets the next value in the list (the one after 'this').
wxString GetStringRepresentation()
Gets a string representation of the value.
long IntegerValue()
Returns the integer value.
void Insert(wxPropertyValue *expr)
Inserts a property value at the front of a list.
long * IntegerValuePtr()
Returns the pointer to the integer value.
wxPropertyValue * Nth(int n)
Returns the nth value of a list expression (starting from zero).
int Number()
Returns the number of elements in a list expression.
float RealValue()
Returns the floating point value.
float * RealValuePtr()
Returns the pointer to the floating point value.
void SetModified(bool flag)
Sets the 'modified' flag.
char * StringValue()
Returns the string value.
char ** StringValuePtr()
Returns the pointer to the string value.
wxPropertyValueType Type()
Returns the value type.
void operator =(const wxPropertyValue& val)
void operator =(const char *val)
void operator =(const long val)
void operator =(const bool val)
void operator =(const float val)
void operator =(const char **val)
void operator =(const long *val)
void operator =(const bool *val)
void operator =(const float *val)
Assignment operators.