/*
 * SPDX-FileCopyrightText: 2025 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */
#ifndef TANGO_SERVER_PIPEPROPERTY_H
#define TANGO_SERVER_PIPEPROPERTY_H

#include <string>

namespace Tango
{

//=================================================================================================================
//
//            The PipeProperty class
//
//
// description :    This class is used to store a pair of pipe prop name, pipe prop value. Both name and value are
//                    stored as strings
//
//=================================================================================================================

class PipeProperty
{
  public:
    PipeProperty(const std::string &name, const std::string &value) :
        prop_name(name),
        prop_value(value)
    {
    }

    ~PipeProperty();

    PipeProperty(const PipeProperty &);
    PipeProperty &operator=(const PipeProperty &);

    PipeProperty(PipeProperty &&);
    PipeProperty &operator=(PipeProperty &&);

    const std::string &get_value()
    {
        return prop_value;
    }

    const std::string &get_name()
    {
        return prop_name;
    }

  private:
    std::string prop_name;
    std::string prop_value;
};

} // namespace Tango

#endif
