class P1::ImageSdk::P1MetaDataIterator#

Overview#

#include <C_P1ImageCommonMetaData.h>

class P1MetaDataIterator
{
public:
    // construction

    P1MetaDataIterator(P1MetaIter* iterator);

    // methods

    void Begin();
    bool IsLast();
    std::string GetName();
    P1MetaObject GetObject();
    void Next();
    P1MetaIter* GetPtr();
};

// direct descendants

class MetaDataIterator;

Detailed Documentation#

Methods#

void Begin()

Set iterator to point to the start of dataset.

bool IsLast()

Test if iterator points to the last element of dataset.

Returns:

bool is returned. if it is true then the iterator is at the last element. if false then there are still more elements.

std::string GetName()

Get the name of the object the iterator currently points to.

Returns:

a string with the name of the currently selected object

P1MetaObject GetObject()

Get the metadata object that the iterator currently is pointing to.

Returns:

a P1MetaObject to the currenct selected object.

void Next()

forward iterator to point to the next element of dataset.