//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a RdGen v1.13.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#ifndef REQUESTRESULTBASE_PREGENERATED_H
#define REQUESTRESULTBASE_PREGENERATED_H


#include "protocol/Protocol.h"
#include "types/DateTime.h"
#include "impl/RdSignal.h"
#include "impl/RdProperty.h"
#include "impl/RdList.h"
#include "impl/RdSet.h"
#include "impl/RdMap.h"
#include "base/ISerializersOwner.h"
#include "base/IUnknownInstance.h"
#include "serialization/ISerializable.h"
#include "serialization/Polymorphic.h"
#include "serialization/NullableSerializer.h"
#include "serialization/ArraySerializer.h"
#include "serialization/InternedSerializer.h"
#include "serialization/SerializationCtx.h"
#include "serialization/Serializers.h"
#include "ext/RdExtBase.h"
#include "task/RdCall.h"
#include "task/RdEndpoint.h"
#include "task/RdSymmetricCall.h"
#include "std/to_string.h"
#include "std/hash.h"
#include "std/allocator.h"
#include "util/enum.h"
#include "util/gen_util.h"

#include <cstring>
#include <cstdint>
#include <vector>
#include <ctime>

#include "thirdparty.hpp"
#include "instantiations_UE4Library.h"

#include "UE4TypesMarshallers.h"
#include "Runtime/Core/Public/Containers/Array.h"
#include "Runtime/Core/Public/Containers/ContainerAllocationPolicies.h"


#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable:4250 )
#pragma warning( disable:4307 )
#pragma warning( disable:4267 )
#pragma warning( disable:4244 )
#pragma warning( disable:4100 )
#endif

/// <summary>
/// <p>Generated from: UE4Library.kt:54</p>
/// </summary>
namespace JetBrains {
namespace EditorPlugin {

// abstract
class RIDERLINK_API RequestResultBase : public rd::IPolymorphicSerializable {

private:
    // custom serializers

public:
    // constants

protected:
    // fields
    int32_t requestID_;
    

private:
    // initializer
    void initialize();

public:
    // primary ctor
    explicit RequestResultBase(int32_t requestID_);
    
    // default ctors and dtors
    
    RequestResultBase() = delete;
    
    RequestResultBase(RequestResultBase const &) = default;
    
    RequestResultBase& operator=(RequestResultBase const &) = default;
    
    RequestResultBase(RequestResultBase &&) = default;
    
    RequestResultBase& operator=(RequestResultBase &&) = default;
    
    virtual ~RequestResultBase() = default;
    
    // reader
    static rd::Wrapper<RequestResultBase> readUnknownInstance(rd::SerializationCtx& ctx, rd::Buffer & buffer, rd::RdId const& unknownId, int32_t size);
    
    // writer
    virtual void write(rd::SerializationCtx& ctx, rd::Buffer& buffer) const override = 0;
    
    // virtual init
    
    // identify
    
    // getters
    int32_t const & get_requestID() const;
    
    // intern

private:
    // equals trait

public:
    // equality operators
    friend bool operator==(const RequestResultBase &lhs, const RequestResultBase &rhs);
    friend bool operator!=(const RequestResultBase &lhs, const RequestResultBase &rhs);
    // hash code trait
    virtual size_t hashCode() const noexcept override = 0;
    // type name trait
    std::string type_name() const override;
    // static type name trait
    static std::string static_type_name();

private:
    // polymorphic to string
    std::string toString() const override;

public:
    // external to string
    friend std::string to_string(const RequestResultBase & value);
};

}
}

// hash code trait
namespace rd {

template <>
struct hash<JetBrains::EditorPlugin::RequestResultBase> {
    size_t operator()(const JetBrains::EditorPlugin::RequestResultBase & value) const noexcept {
        return value.hashCode();
    }
};

}

#ifdef _MSC_VER
#pragma warning( pop )
#endif



#endif // REQUESTRESULTBASE_PREGENERATED_H
