|
|
@ -283,8 +283,7 @@ namespace Exiv2 {
|
|
|
|
@return A constant reference to the value.
|
|
|
|
@return A constant reference to the value.
|
|
|
|
@throw Error if the value is not set.
|
|
|
|
@throw Error if the value is not set.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
const Value& value() const
|
|
|
|
const Value& value() const;
|
|
|
|
{ if (value_.get() != 0) return *value_; throw Error(8); }
|
|
|
|
|
|
|
|
//! Return the size of the data area.
|
|
|
|
//! Return the size of the data area.
|
|
|
|
long sizeDataArea() const
|
|
|
|
long sizeDataArea() const
|
|
|
|
{ return value_.get() == 0 ? 0 : value_->sizeDataArea(); }
|
|
|
|
{ return value_.get() == 0 ? 0 : value_->sizeDataArea(); }
|
|
|
|