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)
{
if (this == &rhs) return *this;

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

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

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

@ -55,6 +55,10 @@ namespace Exiv2 {
{
}
Value::~Value()
{
}
Value& Value::operator=(const Value& rhs)
{
if (this == &rhs) return *this;
@ -146,6 +150,21 @@ namespace Exiv2 {
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*/)
{
// byteOrder not needed

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

Loading…
Cancel
Save