//------------------------------------------------------------------------------
// <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 SCRIPTCALLSTACK_PREGENERATED_H
#define SCRIPTCALLSTACK_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 "UE4Library/ScriptCallStackFrame.Pregenerated.h"
#include "IScriptCallStack.Pregenerated.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:163</p>
/// </summary>
namespace JetBrains {
namespace EditorPlugin {

class RIDERLINK_API ScriptCallStack : public IScriptCallStack {

private:
    // custom serializers

public:
    // constants

protected:
    // fields
    TArray<rd::Wrapper<ScriptCallStackFrame>> frames_;
    

private:
    // initializer
    void initialize();

public:
    // primary ctor
    explicit ScriptCallStack(TArray<rd::Wrapper<ScriptCallStackFrame>> frames_);
    
    // default ctors and dtors
    
    ScriptCallStack() = delete;
    
    ScriptCallStack(ScriptCallStack const &) = default;
    
    ScriptCallStack& operator=(ScriptCallStack const &) = default;
    
    ScriptCallStack(ScriptCallStack &&) = default;
    
    ScriptCallStack& operator=(ScriptCallStack &&) = default;
    
    virtual ~ScriptCallStack() = default;
    
    // reader
    static ScriptCallStack read(rd::SerializationCtx& ctx, rd::Buffer & buffer);
    
    // writer
    void write(rd::SerializationCtx& ctx, rd::Buffer& buffer) const override;
    
    // virtual init
    
    // identify
    
    // getters
    TArray<rd::Wrapper<ScriptCallStackFrame>> const & get_frames() const;
    
    // intern

private:
    // equals trait
    bool equals(rd::ISerializable const& object) const override;

public:
    // equality operators
    friend bool operator==(const ScriptCallStack &lhs, const ScriptCallStack &rhs);
    friend bool operator!=(const ScriptCallStack &lhs, const ScriptCallStack &rhs);
    // hash code trait
    size_t hashCode() const noexcept override;
    // 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 ScriptCallStack & value);
};

}
}

// hash code trait
namespace rd {

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

}

#ifdef _MSC_VER
#pragma warning( pop )
#endif



#endif // SCRIPTCALLSTACK_PREGENERATED_H
