|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
This class simply represent an abstract text-based object. More...
#include <PCustomObject.h>
Public Member Functions | |
| PCustomObject () | |
| PCustomObject (const std::string &text) | |
| PCustomObject (PCustomObject &object) | |
| virtual | ~PCustomObject () |
| virtual bool | SetProperty (std::string, Variant v) |
| virtual Variant | GetProperty (std::string) const |
| virtual ObjectValidationError | ValidateProperty (std::string, Variant v) const |
| virtual ObjectValidationError | ValidateProperty (std::string) const |
| std::list< std::string > | GetObjectOrder () |
Public Member Functions inherited from PEBLObjectBase | |
| PEBLObjectBase () | |
| Standard Constructor. | |
| PEBLObjectBase (ComplexDataType cdt) | |
| Standard Constructor. | |
| PEBLObjectBase (const PEBLObjectBase &pob) | |
| virtual | ~PEBLObjectBase () |
| Standard Destructor. | |
| virtual bool | InitializeProperty (std::string name, Variant v) |
| Variant | GetProperty (std::string) const |
| ComplexDataType | GetType () |
Protected Member Functions | |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
| This sends the color descriptions to the specified stream. | |
| virtual std::string | ObjectName () const |
| virtual std::ostream & | PrintProperties (std::ostream &out) |
| virtual Variant | GetPropertyList () |
Protected Attributes | |
| std::string | mName |
| std::list< std::string > | mObjectOrder |
Protected Attributes inherited from PEBLObjectBase | |
| ComplexDataType | mCDT |
| std::map< std::string, Variant > | mProperties |
This class simply represent an abstract text-based object.
Definition at line 36 of file PCustomObject.h.
| PCustomObject::PCustomObject | ( | ) |
Definition at line 37 of file PCustomObject.cpp.
| PCustomObject::PCustomObject | ( | const std::string & | text | ) |
Definition at line 47 of file PCustomObject.cpp.
| PCustomObject::PCustomObject | ( | PCustomObject & | object | ) |
Definition at line 55 of file PCustomObject.cpp.
|
virtual |
Definition at line 63 of file PCustomObject.cpp.
References PEBLObjectBase::mProperties.
|
inline |
|
virtual |
Definition at line 87 of file PCustomObject.cpp.
References PEBLObjectBase::GetProperty(), and PEBLUtility::ToUpper().
Referenced by Evaluator::CallFunction(), Evaluator::Evaluate1(), and PrintProperties().
|
protectedvirtual |
Reimplemented from PEBLObjectBase.
Definition at line 145 of file PCustomObject.cpp.
References mObjectOrder, NULL, and PList::PushBack().
|
protectedvirtual |
Reimplemented from PEBLObjectBase.
Definition at line 118 of file PCustomObject.cpp.
References mName.
Referenced by SendToStream().
|
protectedvirtual |
Reimplemented from PEBLObjectBase.
Definition at line 124 of file PCustomObject.cpp.
References GetProperty(), mObjectOrder, and PEBLUtility::ToUpper().
|
protectedvirtual |
This sends the color descriptions to the specified stream.
Reimplemented from PEBLObjectBase.
Definition at line 111 of file PCustomObject.cpp.
References ObjectName().
|
virtual |
Reimplemented from PEBLObjectBase.
Definition at line 69 of file PCustomObject.cpp.
References mObjectOrder, PEBLObjectBase::mProperties, and PEBLUtility::ToUpper().
Referenced by PEBLUtility::ExtractJSONObject().
|
virtual |
Reimplemented from PEBLObjectBase.
Definition at line 99 of file PCustomObject.cpp.
References OVE_INVALID_PROPERTY_NAME, OVE_VALID, and PEBLObjectBase::ValidateProperty().
|
virtual |
Reimplemented from PEBLObjectBase.
Definition at line 94 of file PCustomObject.cpp.
References ValidateProperty().
Referenced by Evaluator::CallFunction(), Evaluator::Evaluate1(), and ValidateProperty().
|
protected |
Definition at line 57 of file PCustomObject.h.
Referenced by ObjectName().
|
protected |
Definition at line 58 of file PCustomObject.h.
Referenced by GetObjectOrder(), GetPropertyList(), PrintProperties(), and SetProperty().