class P1::CameraSdk::IImageFileCommon

Overview

Base class used by all image browsing related classes. More…

#include <C_P1CameraCommonStructs.h>

class IImageFileCommon
{
public:
    // enums

    enum Errors;

    // methods

    virtual uint32_t ImageId() const = 0;
    virtual bool AnyErrors() const = 0;
    virtual Errors ImageFileErrors() const = 0;
    virtual std::string ErrorsString() const = 0;
};

// direct descendants

class IImageFileBasicInfo;
class ImageFileCommonImpl;
class IPreview;
class ITile;

Detailed Documentation

Base class used by all image browsing related classes.

Defines a common scheme to represent and query for error conditions.

Version 3.0

Methods

virtual uint32_t ImageId() const = 0

The (session) unique image Id for this file.

virtual bool AnyErrors() const = 0

Returns whether the request resulted in any error(s).

virtual Errors ImageFileErrors() const = 0

The specific errors that occured.

virtual std::string ErrorsString() const = 0

A string version of the errors.