27#include "../utility/PError.h"
29#include "../base/PList.h"
30#include "../base/PComplexData.h"
31#include "../base/Variant.h"
39 mName(
"Unknown Custom Object")
126 out <<
"----------\n";
129 std::string name = (*i);
132 out <<
"[" << name <<
"]: " <<
GetProperty(uname) << endl;
135 out <<
"----------\n";
@ OVE_INVALID_PROPERTY_NAME
This class simply represent an abstract text-based object.
virtual ObjectValidationError ValidateProperty(std::string, Variant v) const
virtual Variant GetProperty(std::string) const
virtual bool SetProperty(std::string, Variant v)
virtual std::string ObjectName() const
virtual std::ostream & SendToStream(std::ostream &out) const
This sends the color descriptions to the specified stream.
virtual std::ostream & PrintProperties(std::ostream &out)
std::list< std::string > mObjectOrder
virtual Variant GetPropertyList()
std::map< std::string, Variant > mProperties
virtual ObjectValidationError ValidateProperty(std::string, Variant v) const
Variant GetProperty(std::string) const
void PushBack(const Variant &v)
std::string ToUpper(const std::string &text)