Public Member Functions | Static Public Attributes | Private Attributes | List of all members
ExifTool Class Reference

#include <ExifTool.h>

Public Member Functions

int Command (const char *cmd=NULL)
 
int Complete (double timeout=NEVER)
 
 ExifTool (const char *exec=NULL, const char *arg1=NULL)
 
int ExtractInfo (const char *file, const char *opts=NULL)
 
char * GetError ()
 
int GetErrorLen ()
 
TagInfoGetInfo (int cmdNum=0, double timeout=NEVER)
 
char * GetOutput ()
 
int GetOutputLen ()
 
int GetSummary (const char *msg)
 
TagInfoImageInfo (const char *file, const char *opts=NULL, double timeout=NEVER)
 
int IsRunning ()
 
int LastCommand ()
 
int LastComplete ()
 
void SetLastComplete (int lastComplete)
 
int SetNewValue (const char *tag=NULL, const char *value=NULL, int len=-1)
 
void SetWaitTime (int waitTime)
 
int WriteInfo (const char *file, const char *opts=NULL, TagInfo *info=NULL)
 
virtual ~ExifTool ()
 

Static Public Attributes

static int sNoSigPipe
 
static int sNoWatchdog
 

Private Attributes

int mCmdNum
 
char * mCmdQueue
 
int mCmdQueueLen
 
int mCmdQueueSize
 
int mLastComplete
 
int mPid
 
ExifToolPipe mStderr
 
ExifToolPipe mStdout
 
int mTo
 
int mWaitTime
 
int mWatchdog
 
TagInfomWriteInfo
 

Detailed Description

Definition at line 46 of file ExifTool.h.

Constructor & Destructor Documentation

◆ ExifTool()

ExifTool::ExifTool ( const char *  exec = NULL,
const char *  arg1 = NULL 
)

◆ ~ExifTool()

virtual ExifTool::~ExifTool ( )
virtual

Member Function Documentation

◆ Command()

int ExifTool::Command ( const char *  cmd = NULL)

◆ Complete()

int ExifTool::Complete ( double  timeout = NEVER)

◆ ExtractInfo()

int ExifTool::ExtractInfo ( const char *  file,
const char *  opts = NULL 
)

◆ GetError()

char* ExifTool::GetError ( )
inline

Definition at line 71 of file ExifTool.h.

◆ GetErrorLen()

int ExifTool::GetErrorLen ( )
inline

Definition at line 72 of file ExifTool.h.

◆ GetInfo()

TagInfo* ExifTool::GetInfo ( int  cmdNum = 0,
double  timeout = NEVER 
)

◆ GetOutput()

char* ExifTool::GetOutput ( )
inline

Definition at line 69 of file ExifTool.h.

◆ GetOutputLen()

int ExifTool::GetOutputLen ( )
inline

Definition at line 70 of file ExifTool.h.

◆ GetSummary()

int ExifTool::GetSummary ( const char *  msg)

◆ ImageInfo()

TagInfo* ExifTool::ImageInfo ( const char *  file,
const char *  opts = NULL,
double  timeout = NEVER 
)

◆ IsRunning()

int ExifTool::IsRunning ( )

◆ LastCommand()

int ExifTool::LastCommand ( )
inline

Definition at line 65 of file ExifTool.h.

◆ LastComplete()

int ExifTool::LastComplete ( )
inline

Definition at line 64 of file ExifTool.h.

◆ SetLastComplete()

void ExifTool::SetLastComplete ( int  lastComplete)
inline

Definition at line 66 of file ExifTool.h.

◆ SetNewValue()

int ExifTool::SetNewValue ( const char *  tag = NULL,
const char *  value = NULL,
int  len = -1 
)

◆ SetWaitTime()

void ExifTool::SetWaitTime ( int  waitTime)
inline

Definition at line 67 of file ExifTool.h.

◆ WriteInfo()

int ExifTool::WriteInfo ( const char *  file,
const char *  opts = NULL,
TagInfo info = NULL 
)

Member Data Documentation

◆ mCmdNum

int ExifTool::mCmdNum
private

Definition at line 92 of file ExifTool.h.

◆ mCmdQueue

char* ExifTool::mCmdQueue
private

Definition at line 88 of file ExifTool.h.

◆ mCmdQueueLen

int ExifTool::mCmdQueueLen
private

Definition at line 89 of file ExifTool.h.

◆ mCmdQueueSize

int ExifTool::mCmdQueueSize
private

Definition at line 90 of file ExifTool.h.

◆ mLastComplete

int ExifTool::mLastComplete
private

Definition at line 91 of file ExifTool.h.

◆ mPid

int ExifTool::mPid
private

Definition at line 85 of file ExifTool.h.

◆ mStderr

ExifToolPipe ExifTool::mStderr
private

Definition at line 83 of file ExifTool.h.

◆ mStdout

ExifToolPipe ExifTool::mStdout
private

Definition at line 82 of file ExifTool.h.

◆ mTo

int ExifTool::mTo
private

Definition at line 84 of file ExifTool.h.

◆ mWaitTime

int ExifTool::mWaitTime
private

Definition at line 93 of file ExifTool.h.

◆ mWatchdog

int ExifTool::mWatchdog
private

Definition at line 86 of file ExifTool.h.

◆ mWriteInfo

TagInfo* ExifTool::mWriteInfo
private

Definition at line 87 of file ExifTool.h.

◆ sNoSigPipe

int ExifTool::sNoSigPipe
static

Definition at line 78 of file ExifTool.h.

◆ sNoWatchdog

int ExifTool::sNoWatchdog
static

Definition at line 79 of file ExifTool.h.


The documentation for this class was generated from the following file:


exiftool_metadata_extractor
Author(s): Martin Pecka
autogenerated on Wed May 28 2025 02:07:28