#include <djv_propset.h>
List of all members.
Detailed Description
This class defines an interface for property-value pair container.
Member Function Documentation
| 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.
- Parameters:
-
- Returns:
true if it exists, otherwise false.
Create an empty PropertySet instance using the default implementation.
- Returns:
- Pointer to the newly created instance.
Create a PropertySet instance by decoding the specified Stream.
- Parameters:
-
| inStream | Pointer to a Stream instance. |
- Returns:
- Pointer to the newly created instance.
| virtual void Celartem::DjVu::PropertySet::decode |
( |
Stream * |
inStream |
) |
[pure virtual] |
Deserialize the instance from the specified Stream instance.
- Parameters:
-
| inStream | Pointer to a Stream instance. |
| virtual AutoPtr<PropertySet> Celartem::DjVu::PropertySet::duplicate |
( |
|
) |
const [pure virtual] |
Create a copy of the instance.
- Returns:
- Pointer to the newly created PropertySet instance.
| virtual void Celartem::DjVu::PropertySet::encode |
( |
Stream * |
inStream |
) |
const [pure virtual] |
Serialize the instance to the specified Stream.
- Parameters:
-
| inStream | Pointer to a Stream instance. |
| virtual String Celartem::DjVu::PropertySet::get |
( |
const String & |
inKey |
) |
const [pure virtual] |
Get a property value associated to the specified key.
- Parameters:
-
| inKey | A key of a property. |
- Returns:
- The value if the key exists; otherwise returns NullString.
| virtual size_t Celartem::DjVu::PropertySet::getSize |
( |
|
) |
const [pure virtual] |
Get the number of properties.
- Returns:
- The number of properties in this instance.
| virtual bool Celartem::DjVu::PropertySet::isEmpty |
( |
|
) |
const [pure virtual] |
Determine whether this PropertySet is empty or not.
- Returns:
true if empty, otherwise false.
| virtual bool Celartem::DjVu::PropertySet::isIdenticalTo |
( |
const PropertySet * |
inPropSet |
) |
const [pure virtual] |
Determines whether this instance is identical to the specified instance or not.
- Parameters:
-
| inPropSet | Pointer to an instance to compare with. |
| virtual void Celartem::DjVu::PropertySet::merge |
( |
const PropertySet * |
inPropSet |
) |
[pure virtual] |
Merges the specified instance to this instance.
- Parameters:
-
| inPropSet | Pointer to an instance to merge. |
| 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.
- Parameters:
-
| 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.
- Parameters:
-
| inKey | A key of a property. |
- Returns:
- The value to set.
The documentation for this class was generated from the following file: