Program Listing for File manifest_util.h#

Return to documentation for file (manifest_util\manifest_util.h)

/********************************************************************************
 * Copyright (c) 2025-2026 ZF Friedrichshafen AG
 *
 * This program and the accompanying materials are made available under the
 * terms of the Apache License Version 2.0 which is available at
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Contributors:
 *   Erik Verhoeven - initial API and implementation
 ********************************************************************************/

#ifndef MANIFEST_UTIL_H
#define MANIFEST_UTIL_H

#include <interfaces/config.h>
#include <support/component_impl.h>

class CManifestUtil : public sdv::CSdvObject, public sdv::helper::IModuleManifestHelper
{
public:

    BEGIN_SDV_INTERFACE_MAP()
        SDV_INTERFACE_ENTRY(sdv::helper::IModuleManifestHelper)
    END_SDV_INTERFACE_MAP()

    // Object declarations
    DECLARE_OBJECT_CLASS_TYPE(sdv::EObjectType::utility)
    DECLARE_OBJECT_CLASS_NAME("ManifestHelperUtility")


    virtual sdv::u8string ReadModuleManifest(/*in*/ const sdv::u8string& ssModule) override;
};
DEFINE_SDV_OBJECT(CManifestUtil)

#endif // !define MANIFEST_UTIL_H