// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from custom_messages:msg/Mypath.idl
// generated code does not contain a copyright notice

#ifndef CUSTOM_MESSAGES__MSG__DETAIL__MYPATH__STRUCT_HPP_
#define CUSTOM_MESSAGES__MSG__DETAIL__MYPATH__STRUCT_HPP_

#include <rosidl_runtime_cpp/bounded_vector.hpp>
#include <rosidl_runtime_cpp/message_initialization.hpp>
#include <algorithm>
#include <array>
#include <memory>
#include <string>
#include <vector>


#ifndef _WIN32
# define DEPRECATED__custom_messages__msg__Mypath __attribute__((deprecated))
#else
# define DEPRECATED__custom_messages__msg__Mypath __declspec(deprecated)
#endif

namespace custom_messages
{

namespace msg
{

// message struct
template<class ContainerAllocator>
struct Mypath_
{
  using Type = Mypath_<ContainerAllocator>;

  explicit Mypath_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    (void)_init;
  }

  explicit Mypath_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    (void)_init;
    (void)_alloc;
  }

  // field types and members
  using _mypath_type =
    std::vector<double, typename ContainerAllocator::template rebind<double>::other>;
  _mypath_type mypath;

  // setters for named parameter idiom
  Type & set__mypath(
    const std::vector<double, typename ContainerAllocator::template rebind<double>::other> & _arg)
  {
    this->mypath = _arg;
    return *this;
  }

  // constant declarations

  // pointer types
  using RawPtr =
    custom_messages::msg::Mypath_<ContainerAllocator> *;
  using ConstRawPtr =
    const custom_messages::msg::Mypath_<ContainerAllocator> *;
  using SharedPtr =
    std::shared_ptr<custom_messages::msg::Mypath_<ContainerAllocator>>;
  using ConstSharedPtr =
    std::shared_ptr<custom_messages::msg::Mypath_<ContainerAllocator> const>;

  template<typename Deleter = std::default_delete<
      custom_messages::msg::Mypath_<ContainerAllocator>>>
  using UniquePtrWithDeleter =
    std::unique_ptr<custom_messages::msg::Mypath_<ContainerAllocator>, Deleter>;

  using UniquePtr = UniquePtrWithDeleter<>;

  template<typename Deleter = std::default_delete<
      custom_messages::msg::Mypath_<ContainerAllocator>>>
  using ConstUniquePtrWithDeleter =
    std::unique_ptr<custom_messages::msg::Mypath_<ContainerAllocator> const, Deleter>;
  using ConstUniquePtr = ConstUniquePtrWithDeleter<>;

  using WeakPtr =
    std::weak_ptr<custom_messages::msg::Mypath_<ContainerAllocator>>;
  using ConstWeakPtr =
    std::weak_ptr<custom_messages::msg::Mypath_<ContainerAllocator> const>;

  // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
  // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
  typedef DEPRECATED__custom_messages__msg__Mypath
    std::shared_ptr<custom_messages::msg::Mypath_<ContainerAllocator>>
    Ptr;
  typedef DEPRECATED__custom_messages__msg__Mypath
    std::shared_ptr<custom_messages::msg::Mypath_<ContainerAllocator> const>
    ConstPtr;

  // comparison operators
  bool operator==(const Mypath_ & other) const
  {
    if (this->mypath != other.mypath) {
      return false;
    }
    return true;
  }
  bool operator!=(const Mypath_ & other) const
  {
    return !this->operator==(other);
  }
};  // struct Mypath_

// alias to use template instance with default allocator
using Mypath =
  custom_messages::msg::Mypath_<std::allocator<void>>;

// constant definitions

}  // namespace msg

}  // namespace custom_messages

#endif  // CUSTOM_MESSAGES__MSG__DETAIL__MYPATH__STRUCT_HPP_
