@ -32,7 +32,7 @@ namespace Exiv2 {
class EXIV2API Value {
class EXIV2API Value {
public :
public :
//! Shortcut for a %Value auto pointer.
//! Shortcut for a %Value auto pointer.
typedef std : : unique_ptr < Value > UniquePtr ;
using UniquePtr = std : : unique_ptr < Value > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -240,7 +240,7 @@ namespace Exiv2 {
class EXIV2API DataValue : public Value {
class EXIV2API DataValue : public Value {
public :
public :
//! Shortcut for a %DataValue auto pointer.
//! Shortcut for a %DataValue auto pointer.
typedef std : : unique_ptr < DataValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < DataValue > ;
explicit DataValue ( TypeId typeId = undefined ) ;
explicit DataValue ( TypeId typeId = undefined ) ;
@ -294,7 +294,7 @@ namespace Exiv2 {
DataValue * clone_ ( ) const override ;
DataValue * clone_ ( ) const override ;
//! Type used to store the data.
//! Type used to store the data.
typedef std : : vector < byte > ValueType ;
using ValueType = std : : vector < byte > ;
// DATA
// DATA
ValueType value_ ; //!< Stores the data value
ValueType value_ ; //!< Stores the data value
@ -309,7 +309,7 @@ namespace Exiv2 {
class EXIV2API StringValueBase : public Value {
class EXIV2API StringValueBase : public Value {
public :
public :
//! Shortcut for a %StringValueBase auto pointer.
//! Shortcut for a %StringValueBase auto pointer.
typedef std : : unique_ptr < StringValueBase > UniquePtr ;
using UniquePtr = std : : unique_ptr < StringValueBase > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -378,7 +378,7 @@ namespace Exiv2 {
class EXIV2API StringValue : public StringValueBase {
class EXIV2API StringValue : public StringValueBase {
public :
public :
//! Shortcut for a %StringValue auto pointer.
//! Shortcut for a %StringValue auto pointer.
typedef std : : unique_ptr < StringValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < StringValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -410,7 +410,7 @@ namespace Exiv2 {
class EXIV2API AsciiValue : public StringValueBase {
class EXIV2API AsciiValue : public StringValueBase {
public :
public :
//! Shortcut for a %AsciiValue auto pointer.
//! Shortcut for a %AsciiValue auto pointer.
typedef std : : unique_ptr < AsciiValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < AsciiValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -498,7 +498,7 @@ namespace Exiv2 {
} ; // class CharsetInfo
} ; // class CharsetInfo
//! Shortcut for a %CommentValue auto pointer.
//! Shortcut for a %CommentValue auto pointer.
typedef std : : unique_ptr < CommentValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < CommentValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -582,7 +582,7 @@ namespace Exiv2 {
class EXIV2API XmpValue : public Value {
class EXIV2API XmpValue : public Value {
public :
public :
//! Shortcut for a %XmpValue auto pointer.
//! Shortcut for a %XmpValue auto pointer.
typedef std : : unique_ptr < XmpValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < XmpValue > ;
//! XMP array types.
//! XMP array types.
enum XmpArrayType { xaNone , xaAlt , xaBag , xaSeq } ;
enum XmpArrayType { xaNone , xaAlt , xaBag , xaSeq } ;
@ -652,7 +652,7 @@ namespace Exiv2 {
class EXIV2API XmpTextValue : public XmpValue {
class EXIV2API XmpTextValue : public XmpValue {
public :
public :
//! Shortcut for a %XmpTextValue auto pointer.
//! Shortcut for a %XmpTextValue auto pointer.
typedef std : : unique_ptr < XmpTextValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < XmpTextValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -741,7 +741,7 @@ namespace Exiv2 {
class EXIV2API XmpArrayValue : public XmpValue {
class EXIV2API XmpArrayValue : public XmpValue {
public :
public :
//! Shortcut for a %XmpArrayValue auto pointer.
//! Shortcut for a %XmpArrayValue auto pointer.
typedef std : : unique_ptr < XmpArrayValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < XmpArrayValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -831,7 +831,7 @@ namespace Exiv2 {
class EXIV2API LangAltValue : public XmpValue {
class EXIV2API LangAltValue : public XmpValue {
public :
public :
//! Shortcut for a %LangAltValue auto pointer.
//! Shortcut for a %LangAltValue auto pointer.
typedef std : : unique_ptr < LangAltValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < LangAltValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -901,7 +901,7 @@ namespace Exiv2 {
public :
public :
//! Type used to store language alternative arrays.
//! Type used to store language alternative arrays.
typedef std : : map < std : : string , std : : string , LangAltValueComparator > ValueType ;
using ValueType = std : : map < std : : string , std : : string , LangAltValueComparator > ;
// DATA
// DATA
/*!
/*!
@ brief Map to store the language alternative values . The language
@ brief Map to store the language alternative values . The language
@ -920,7 +920,7 @@ namespace Exiv2 {
class EXIV2API DateValue : public Value {
class EXIV2API DateValue : public Value {
public :
public :
//! Shortcut for a %DateValue auto pointer.
//! Shortcut for a %DateValue auto pointer.
typedef std : : unique_ptr < DateValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < DateValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -1011,7 +1011,7 @@ namespace Exiv2 {
class EXIV2API TimeValue : public Value {
class EXIV2API TimeValue : public Value {
public :
public :
//! Shortcut for a %TimeValue auto pointer.
//! Shortcut for a %TimeValue auto pointer.
typedef std : : unique_ptr < TimeValue > UniquePtr ;
using UniquePtr = std : : unique_ptr < TimeValue > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -1132,7 +1132,7 @@ namespace Exiv2 {
class ValueType : public Value {
class ValueType : public Value {
public :
public :
//! Shortcut for a %ValueType\<T\> auto pointer.
//! Shortcut for a %ValueType\<T\> auto pointer.
typedef std : : unique_ptr < ValueType < T > > UniquePtr ;
using UniquePtr = std : : unique_ptr < ValueType < T > > ;
//! @name Creators
//! @name Creators
//@{
//@{
@ -1198,11 +1198,11 @@ namespace Exiv2 {
//@}
//@}
//! Container for values
//! Container for values
typedef std : : vector < T > ValueList ;
using ValueList = std : : vector < T > ;
//! Iterator type defined for convenience.
//! Iterator type defined for convenience.
typedef typename std : : vector < T > : : iterator iterator ;
using iterator = typename std : : vector < T > : : iterator ;
//! Const iterator type defined for convenience.
//! Const iterator type defined for convenience.
typedef typename std : : vector < T > : : const_iterator const_iterator ;
using const_iterator = typename std : : vector < T > : : const_iterator ;
// DATA
// DATA
/*!
/*!
@ -1281,21 +1281,21 @@ namespace Exiv2 {
} ; // class ValueType
} ; // class ValueType
//! Unsigned short value type
//! Unsigned short value type
typedef ValueType < uint16_t > UShortValue ;
using UShortValue = ValueType < uint16_t > ;
//! Unsigned long value type
//! Unsigned long value type
typedef ValueType < uint32_t > ULongValue ;
using ULongValue = ValueType < uint32_t > ;
//! Unsigned rational value type
//! Unsigned rational value type
typedef ValueType < URational > URationalValue ;
using URationalValue = ValueType < URational > ;
//! Signed short value type
//! Signed short value type
typedef ValueType < int16_t > ShortValue ;
using ShortValue = ValueType < int16_t > ;
//! Signed long value type
//! Signed long value type
typedef ValueType < int32_t > LongValue ;
using LongValue = ValueType < int32_t > ;
//! Signed rational value type
//! Signed rational value type
typedef ValueType < Rational > RationalValue ;
using RationalValue = ValueType < Rational > ;
//! Float value type
//! Float value type
typedef ValueType < float > FloatValue ;
using FloatValue = ValueType < float > ;
//! Double value type
//! Double value type
typedef ValueType < double > DoubleValue ;
using DoubleValue = ValueType < double > ;
// *****************************************************************************
// *****************************************************************************
// free functions, template and inline definitions
// free functions, template and inline definitions