struct DataPackIdentifier

Overview

Identifies a single datapack. More…

#include <datapack_interface.h>

struct DataPackIdentifier {
    // fields

    std::string Name;
    std::string EngineName;
    std::string Type;

    // construction

    DataPackIdentifier();
    DataPackIdentifier(const DataPackIdentifier&);
    DataPackIdentifier(DataPackIdentifier&& obj);

    DataPackIdentifier(
        const std::string& _name,
        const std::string& _engineName,
        const std::string& _type
    );

    DataPackIdentifier(
        std::string&& _name,
        std::string&& _engineName,
        std::string&& _type
    );

    // methods

    DataPackIdentifier& operator = (const DataPackIdentifier&);
    DataPackIdentifier& operator = (DataPackIdentifier&&);
    bool operator == (const DataPackIdentifier& rhs) const;
    bool operator < (const DataPackIdentifier& rhs) const;
};

Detailed Documentation

Identifies a single datapack.

Fields

std::string Name

DataPack Name. Used by simulator to identify source/sink of datapack.

std::string EngineName

Corresponding engine.

std::string Type

DataPack Type.