Commit e7db3681 authored by David Lamparter's avatar David Lamparter

Regenerate schema C++ translation

parent cc57e5c1
This diff is collapsed.
...@@ -89,7 +89,7 @@ struct Node { ...@@ -89,7 +89,7 @@ struct Node {
struct Annotation; struct Annotation;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(e682ab4cf923a417, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(e682ab4cf923a417, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -134,7 +134,7 @@ struct Node::Struct { ...@@ -134,7 +134,7 @@ struct Node::Struct {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(9ea0b19b37fb4435, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(9ea0b19b37fb4435, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -149,7 +149,7 @@ struct Node::Enum { ...@@ -149,7 +149,7 @@ struct Node::Enum {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(b54ab3364333f598, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(b54ab3364333f598, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -164,7 +164,7 @@ struct Node::Interface { ...@@ -164,7 +164,7 @@ struct Node::Interface {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(e82753cff0c2218f, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(e82753cff0c2218f, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -179,7 +179,7 @@ struct Node::Const { ...@@ -179,7 +179,7 @@ struct Node::Const {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(b18aa5ac7a0d9420, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(b18aa5ac7a0d9420, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -194,7 +194,7 @@ struct Node::Annotation { ...@@ -194,7 +194,7 @@ struct Node::Annotation {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(ec1619d4400a0290, 5, 6) CAPNP_DECLARE_STRUCT_HEADER(ec1619d4400a0290, 5, 7)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -217,7 +217,7 @@ struct Field { ...@@ -217,7 +217,7 @@ struct Field {
struct Ordinal; struct Ordinal;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(9aad50a41f4af45f, 3, 4) CAPNP_DECLARE_STRUCT_HEADER(9aad50a41f4af45f, 3, 5)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -232,7 +232,7 @@ struct Field::Slot { ...@@ -232,7 +232,7 @@ struct Field::Slot {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(c42305476bb4746f, 3, 4) CAPNP_DECLARE_STRUCT_HEADER(c42305476bb4746f, 3, 5)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -247,7 +247,7 @@ struct Field::Group { ...@@ -247,7 +247,7 @@ struct Field::Group {
class Pipeline; class Pipeline;
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(cafccddb68db1d11, 3, 4) CAPNP_DECLARE_STRUCT_HEADER(cafccddb68db1d11, 3, 5)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -266,7 +266,7 @@ struct Field::Ordinal { ...@@ -266,7 +266,7 @@ struct Field::Ordinal {
}; };
struct _capnpPrivate { struct _capnpPrivate {
CAPNP_DECLARE_STRUCT_HEADER(bb90d5c287870be6, 3, 4) CAPNP_DECLARE_STRUCT_HEADER(bb90d5c287870be6, 3, 5)
#if !CAPNP_LITE #if !CAPNP_LITE
static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -706,6 +706,9 @@ public: ...@@ -706,6 +706,9 @@ public:
inline bool getIsGeneric() const; inline bool getIsGeneric() const;
inline bool hasDocComment() const;
inline ::capnp::Text::Reader getDocComment() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename, ::capnp::Kind> template <typename, ::capnp::Kind>
...@@ -799,6 +802,13 @@ public: ...@@ -799,6 +802,13 @@ public:
inline bool getIsGeneric(); inline bool getIsGeneric();
inline void setIsGeneric(bool value); inline void setIsGeneric(bool value);
inline bool hasDocComment();
inline ::capnp::Text::Builder getDocComment();
inline void setDocComment( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initDocComment(unsigned int size);
inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename, ::capnp::Kind> template <typename, ::capnp::Kind>
...@@ -1546,6 +1556,9 @@ public: ...@@ -1546,6 +1556,9 @@ public:
inline Ordinal::Reader getOrdinal() const; inline Ordinal::Reader getOrdinal() const;
inline bool hasDocComment() const;
inline ::capnp::Text::Reader getDocComment() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename, ::capnp::Kind> template <typename, ::capnp::Kind>
...@@ -1606,6 +1619,13 @@ public: ...@@ -1606,6 +1619,13 @@ public:
inline Ordinal::Builder getOrdinal(); inline Ordinal::Builder getOrdinal();
inline Ordinal::Builder initOrdinal(); inline Ordinal::Builder initOrdinal();
inline bool hasDocComment();
inline ::capnp::Text::Builder getDocComment();
inline void setDocComment( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initDocComment(unsigned int size);
inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename, ::capnp::Kind> template <typename, ::capnp::Kind>
...@@ -4333,6 +4353,38 @@ inline void Node::Builder::setIsGeneric(bool value) { ...@@ -4333,6 +4353,38 @@ inline void Node::Builder::setIsGeneric(bool value) {
288 * ::capnp::ELEMENTS, value); 288 * ::capnp::ELEMENTS, value);
} }
inline bool Node::Reader::hasDocComment() const {
return !_reader.getPointerField(6 * ::capnp::POINTERS).isNull();
}
inline bool Node::Builder::hasDocComment() {
return !_builder.getPointerField(6 * ::capnp::POINTERS).isNull();
}
inline ::capnp::Text::Reader Node::Reader::getDocComment() const {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader.getPointerField(6 * ::capnp::POINTERS));
}
inline ::capnp::Text::Builder Node::Builder::getDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder.getPointerField(6 * ::capnp::POINTERS));
}
inline void Node::Builder::setDocComment( ::capnp::Text::Reader value) {
::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder.getPointerField(6 * ::capnp::POINTERS), value);
}
inline ::capnp::Text::Builder Node::Builder::initDocComment(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder.getPointerField(6 * ::capnp::POINTERS), size);
}
inline void Node::Builder::adoptDocComment(
::capnp::Orphan< ::capnp::Text>&& value) {
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder.getPointerField(6 * ::capnp::POINTERS), kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::Text> Node::Builder::disownDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
_builder.getPointerField(6 * ::capnp::POINTERS));
}
inline bool Node::Parameter::Reader::hasName() const { inline bool Node::Parameter::Reader::hasName() const {
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
...@@ -5064,6 +5116,38 @@ inline Field::Ordinal::Builder Field::Builder::initOrdinal() { ...@@ -5064,6 +5116,38 @@ inline Field::Ordinal::Builder Field::Builder::initOrdinal() {
_builder.setDataField< ::uint16_t>(6 * ::capnp::ELEMENTS, 0); _builder.setDataField< ::uint16_t>(6 * ::capnp::ELEMENTS, 0);
return Field::Ordinal::Builder(_builder); return Field::Ordinal::Builder(_builder);
} }
inline bool Field::Reader::hasDocComment() const {
return !_reader.getPointerField(4 * ::capnp::POINTERS).isNull();
}
inline bool Field::Builder::hasDocComment() {
return !_builder.getPointerField(4 * ::capnp::POINTERS).isNull();
}
inline ::capnp::Text::Reader Field::Reader::getDocComment() const {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader.getPointerField(4 * ::capnp::POINTERS));
}
inline ::capnp::Text::Builder Field::Builder::getDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder.getPointerField(4 * ::capnp::POINTERS));
}
inline void Field::Builder::setDocComment( ::capnp::Text::Reader value) {
::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder.getPointerField(4 * ::capnp::POINTERS), value);
}
inline ::capnp::Text::Builder Field::Builder::initDocComment(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder.getPointerField(4 * ::capnp::POINTERS), size);
}
inline void Field::Builder::adoptDocComment(
::capnp::Orphan< ::capnp::Text>&& value) {
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder.getPointerField(4 * ::capnp::POINTERS), kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::Text> Field::Builder::disownDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
_builder.getPointerField(4 * ::capnp::POINTERS));
}
inline ::uint32_t Field::Slot::Reader::getOffset() const { inline ::uint32_t Field::Slot::Reader::getOffset() const {
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS); 1 * ::capnp::ELEMENTS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment