зеркало из https://github.com/stride3d/SharpYaml.git
51 строка
1.1 KiB
C++
51 строка
1.1 KiB
C++
#pragma once
|
|
|
|
#include "YamlEvent.h"
|
|
#include "ScalarStyle.h"
|
|
#include "INodeEvent.h"
|
|
|
|
using namespace System;
|
|
using namespace YamlDotNet::Core::LibYaml;
|
|
|
|
namespace YamlDotNet {
|
|
namespace Core {
|
|
public ref class SequenceStartEvent : public YamlEvent, public INodeEvent
|
|
{
|
|
private:
|
|
String^ anchor;
|
|
String^ tag;
|
|
ScalarStyle style;
|
|
bool isImplicit;
|
|
|
|
internal:
|
|
SequenceStartEvent(const yaml_event_t* nativeEvent);
|
|
virtual void CreateEvent(yaml_event_t* nativeEvent) override;
|
|
|
|
public:
|
|
SequenceStartEvent();
|
|
SequenceStartEvent(String^ tag);
|
|
SequenceStartEvent(String^ tag, String^ anchor);
|
|
SequenceStartEvent(String^ tag, String^ anchor, ScalarStyle style);
|
|
SequenceStartEvent(String^ tag, String^ anchor, ScalarStyle style, bool isImplicit);
|
|
virtual ~SequenceStartEvent();
|
|
|
|
virtual property String^ Anchor {
|
|
String^ get();
|
|
}
|
|
|
|
virtual property String^ Tag {
|
|
String^ get();
|
|
}
|
|
|
|
property bool IsImplicit {
|
|
bool get();
|
|
}
|
|
|
|
property ScalarStyle Style {
|
|
ScalarStyle get();
|
|
}
|
|
|
|
virtual String^ ToString() override;
|
|
};
|
|
}
|
|
} |