#include <djv_propset.h>

Public Member Functions | |
| virtual size_t | getSize () const =0 |
| virtual bool | isEmpty () const =0 |
| virtual void | clear ()=0 |
| virtual bool | contains (const String &inKey) const =0 |
| virtual String | get (const String &inKey) const =0 |
| virtual void | set (const String &inKey, const String &inValue)=0 |
| virtual void | remove (const String &inKey)=0 |
| virtual AutoPtr < PropertySetIterator > | enumProperties () const =0 |
| virtual AutoPtr< PropertySet > | duplicate () const =0 |
| virtual void | encode (Stream *inStream) const =0 |
| virtual void | decode (Stream *inStream)=0 |
| virtual void | merge (const PropertySet *inPropSet)=0 |
| virtual bool | isIdenticalTo (const PropertySet *inPropSet) const =0 |
Public Member Functions inherited from Celartem::Referable | |
| Referable () | |
| void | addRef () const |
| void | releaseRef () const |
| size_t | getReferenceCount () const |
Static Public Member Functions | |
| static AutoPtr< PropertySet > | create () |
| static AutoPtr< PropertySet > | create (Stream *inStream) |
Static Public Member Functions inherited from Celartem::Referable | |
| static void | dumpDbgAllRefCount () |
This class defines an interface for property-value pair container.
|
pure virtual |
Remove all the entries from the container.
|
pure virtual |
Determine whether this PropertySet contains propery of the sepcifeid key.
| inKey | A key. |
true if it exists, otherwise false.
|
static |
Create an empty PropertySet instance using the default implementation.
|
static |
Create a PropertySet instance by decoding the specified Stream.
| inStream | Pointer to a Stream instance. |
|
pure virtual |
|
pure virtual |
Create a copy of the instance.
|
pure virtual |
|
pure virtual |
Enumerate all the properties.
Get a property value associated to the specified key.
| inKey | A key of a property. |
|
pure virtual |
Get the number of properties.
|
pure virtual |
Determine whether this PropertySet is empty or not.
true if empty, otherwise false.
|
pure virtual |
Determines whether this instance is identical to the specified instance or not.
| inPropSet | Pointer to an instance to compare with. |
|
pure virtual |
Merges the specified instance to this instance.
| inPropSet | Pointer to an instance to merge. |
|
pure virtual |
Remove a property by key. If the key does not exist, the function does nothing.
| inKey | A key of a property. |
|
pure virtual |
Set a value to the specified key.
| inKey | A key of a property. |