#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 |
Static Public Member Functions | |
| static AutoPtr< PropertySet > | create () |
| static AutoPtr< PropertySet > | create (Stream *inStream) |
Definition at line 65 of file djv_propset.h.
| virtual size_t Celartem::DjVu::PropertySet::getSize | ( | ) | const [pure virtual] |
Get the number of properties.
| virtual bool Celartem::DjVu::PropertySet::isEmpty | ( | ) | const [pure virtual] |
Determine whether this PropertySet is empty or not.
true if empty, otherwise false. | virtual void Celartem::DjVu::PropertySet::clear | ( | ) | [pure virtual] |
Remove all the entries from the container.
| virtual bool Celartem::DjVu::PropertySet::contains | ( | const String & | inKey | ) | const [pure virtual] |
Determine whether this PropertySet contains propery of the sepcifeid key.
| inKey | A key. |
true if it exists, otherwise false. Get a property value associated to the specified key.
| inKey | A key of a property. |
| virtual void Celartem::DjVu::PropertySet::set | ( | const String & | inKey, | |
| const String & | inValue | |||
| ) | [pure virtual] |
Set a value to the specified key.
| inKey | A key of a property. |
| virtual void Celartem::DjVu::PropertySet::remove | ( | const String & | inKey | ) | [pure virtual] |
Remove a property by key. If the key does not exist, the function does nothing.
| inKey | A key of a property. |
| virtual AutoPtr<PropertySetIterator> Celartem::DjVu::PropertySet::enumProperties | ( | ) | const [pure virtual] |
Enumerate all the properties.
| virtual AutoPtr<PropertySet> Celartem::DjVu::PropertySet::duplicate | ( | ) | const [pure virtual] |
Create a copy of the instance.
| virtual void Celartem::DjVu::PropertySet::encode | ( | Stream * | inStream | ) | const [pure virtual] |
| virtual void Celartem::DjVu::PropertySet::decode | ( | Stream * | inStream | ) | [pure virtual] |
| virtual void Celartem::DjVu::PropertySet::merge | ( | const PropertySet * | inPropSet | ) | [pure virtual] |
Merges the specified instance to this instance.
| inPropSet | Pointer to an instance to merge. |
| virtual bool Celartem::DjVu::PropertySet::isIdenticalTo | ( | const PropertySet * | inPropSet | ) | const [pure virtual] |
Determines whether this instance is identical to the specified instance or not.
| inPropSet | Pointer to an instance to compare with. |
| static AutoPtr<PropertySet> Celartem::DjVu::PropertySet::create | ( | ) | [static] |
Create an empty PropertySet instance using the default implementation.
| static AutoPtr<PropertySet> Celartem::DjVu::PropertySet::create | ( | Stream * | inStream | ) | [static] |
Create a PropertySet instance by decoding the specified Stream.
| inStream | Pointer to a Stream instance. |