Misc tweaks.
This commit is contained in:
parent
a65a964060
commit
4bf9e16559
@ -40,7 +40,6 @@
|
||||
#include "easyaccess.hpp"
|
||||
#include "error.hpp"
|
||||
#include "exif.hpp"
|
||||
#include "exiv2.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "gifimage.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
@ -2741,9 +2741,9 @@ namespace Exiv2 {
|
||||
pos1 = key.find('.', pos0);
|
||||
if (pos1 == std::string::npos) throw Error(6, key);
|
||||
std::string groupName = key.substr(pos0, pos1 - pos0);
|
||||
if (groupName == "") throw Error(6, key);
|
||||
if (groupName.empty()) throw Error(6, key);
|
||||
std::string tn = key.substr(pos1 + 1);
|
||||
if (tn == "") throw Error(6, key);
|
||||
if (tn.empty()) throw Error(6, key);
|
||||
|
||||
// Find IfdId
|
||||
IfdId ifdId = groupId(groupName);
|
||||
|
||||
@ -52,6 +52,9 @@ namespace Exiv2 {
|
||||
// *****************************************************************************
|
||||
// class definitions
|
||||
|
||||
//! Type for a function pointer for functions interpreting the tag value
|
||||
typedef std::ostream& (*PrintFct)(std::ostream&, const Value&, const ExifData* pExifData);
|
||||
|
||||
//! Type to specify the IFD to which a metadata belongs
|
||||
enum IfdId {
|
||||
ifdIdNotSet,
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
@author Andreas Huggel (ahu)
|
||||
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
|
||||
@date 09-Jan-04, ahu: created<BR>
|
||||
11-Feb-04, ahu: isolated as a component
|
||||
11-Feb-04, ahu: isolated as a component<BR>
|
||||
31-Jul-04, brad: added Time, Data and String values
|
||||
*/
|
||||
#ifndef TYPES_HPP_
|
||||
|
||||
Loading…
Reference in New Issue
Block a user