#ifndef _FAST_DDS_GENERATED_SHAPE_H_
#define _FAST_DDS_GENERATED_SHAPE_H_
#include <array>
#include <bitset>
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include <fastcdr/cdr/fixed_size_string.hpp>
#include <fastcdr/xcdr/optional.hpp>
#if defined(_WIN32)
#if defined(EPROSIMA_USER_DLL_EXPORT)
#define eProsima_user_DllExport __declspec( dllexport )
#else
#define eProsima_user_DllExport
#endif #else
#define eProsima_user_DllExport
#endif
#if defined(_WIN32)
#if defined(EPROSIMA_USER_DLL_EXPORT)
#if defined(SHAPE_SOURCE)
#define SHAPE_DllAPI __declspec( dllexport )
#else
#define SHAPE_DllAPI __declspec( dllimport )
#endif #else
#define SHAPE_DllAPI
#endif #else
#define SHAPE_DllAPI
#endif
namespace eprosima {
namespace fastcdr {
class Cdr;
class CdrSizeCalculator;
} }
class ShapeType
{
public:
eProsima_user_DllExport ShapeType();
eProsima_user_DllExport ~ShapeType();
eProsima_user_DllExport ShapeType(
const ShapeType& x);
eProsima_user_DllExport ShapeType(
ShapeType&& x) noexcept;
eProsima_user_DllExport ShapeType& operator =(
const ShapeType& x);
eProsima_user_DllExport ShapeType& operator =(
ShapeType&& x) noexcept;
eProsima_user_DllExport bool operator ==(
const ShapeType& x) const;
eProsima_user_DllExport bool operator !=(
const ShapeType& x) const;
eProsima_user_DllExport void color(
const std::string& _color);
eProsima_user_DllExport void color(
std::string&& _color);
eProsima_user_DllExport const std::string& color() const;
eProsima_user_DllExport std::string& color();
eProsima_user_DllExport void x(
int32_t _x);
eProsima_user_DllExport int32_t x() const;
eProsima_user_DllExport int32_t& x();
eProsima_user_DllExport void y(
int32_t _y);
eProsima_user_DllExport int32_t y() const;
eProsima_user_DllExport int32_t& y();
eProsima_user_DllExport void shape_size(
int32_t _shape_size);
eProsima_user_DllExport int32_t shape_size() const;
eProsima_user_DllExport int32_t& shape_size();
private:
std::string m_color;
int32_t m_x{0};
int32_t m_y{0};
int32_t m_shape_size{0};
};
#endif