Removed inline functions from class hierarchies (Patrick Spendrin).

v0.27.3
Andreas Huggel 17 years ago
parent 8de115df84
commit 667d10ef93

@ -608,6 +608,10 @@ namespace Exiv2 {
{ {
} }
IptcKey::~IptcKey()
{
}
IptcKey& IptcKey::operator=(const IptcKey& rhs) IptcKey& IptcKey::operator=(const IptcKey& rhs)
{ {
if (this == &rhs) return *this; if (this == &rhs) return *this;

@ -298,6 +298,8 @@ namespace Exiv2 {
IptcKey(uint16_t tag, uint16_t record); IptcKey(uint16_t tag, uint16_t record);
//! Copy constructor //! Copy constructor
IptcKey(const IptcKey& rhs); IptcKey(const IptcKey& rhs);
//! Destructor
virtual ~IptcKey();
//@} //@}
//! @name Manipulators //! @name Manipulators

@ -43,6 +43,10 @@ EXIV2_RCSID("@(#) $Id$")
// class member definitions // class member definitions
namespace Exiv2 { namespace Exiv2 {
Key::~Key()
{
}
Key::AutoPtr Key::clone() const Key::AutoPtr Key::clone() const
{ {
return AutoPtr(clone_()); return AutoPtr(clone_());

@ -61,7 +61,7 @@ namespace Exiv2 {
//! @name Creators //! @name Creators
//@{ //@{
//! Destructor //! Destructor
virtual ~Key() {} virtual ~Key();
//@} //@}
//! @name Accessors //! @name Accessors

@ -55,6 +55,10 @@ namespace Exiv2 {
{ {
} }
Value::~Value()
{
}
Value& Value::operator=(const Value& rhs) Value& Value::operator=(const Value& rhs)
{ {
if (this == &rhs) return *this; if (this == &rhs) return *this;
@ -146,6 +150,21 @@ namespace Exiv2 {
return toString(); return toString();
} }
DataValue::DataValue(TypeId typeId) : Value(typeId)
{
}
DataValue::DataValue(const byte* buf,
long len, ByteOrder byteOrder,TypeId typeId)
: Value(typeId)
{
read(buf, len, byteOrder);
}
DataValue::~DataValue()
{
}
int DataValue::read(const byte* buf, long len, ByteOrder /*byteOrder*/) int DataValue::read(const byte* buf, long len, ByteOrder /*byteOrder*/)
{ {
// byteOrder not needed // byteOrder not needed

@ -69,7 +69,7 @@ namespace Exiv2 {
//! Constructor, taking a type id to initialize the base class with //! Constructor, taking a type id to initialize the base class with
explicit Value(TypeId typeId); explicit Value(TypeId typeId);
//! Virtual destructor. //! Virtual destructor.
virtual ~Value() {} virtual ~Value();
//@} //@}
//! @name Manipulators //! @name Manipulators
//@{ //@{
@ -268,14 +268,13 @@ namespace Exiv2 {
//! @name Creators //! @name Creators
//@{ //@{
//! Default constructor. //! Default constructor.
explicit DataValue(TypeId typeId =undefined) : Value(typeId) {} explicit DataValue(TypeId typeId =undefined);
//! Constructor //! Constructor
DataValue(const byte* buf, DataValue(const byte* buf,
long len, ByteOrder byteOrder =invalidByteOrder, long len, ByteOrder byteOrder =invalidByteOrder,
TypeId typeId =undefined) TypeId typeId =undefined);
: Value(typeId) { read(buf, len, byteOrder); }
//! Virtual destructor. //! Virtual destructor.
virtual ~DataValue() {} virtual ~DataValue();
//@} //@}
//! @name Manipulators //! @name Manipulators

Loading…
Cancel
Save