Main Page Class List Class Members

- Main Page
- User's Guide
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# sdk/extensions/serialization/source/generated/NvBlastExtTkSerialization.capn.h

Go to the documentation of this file.

    00001 // Generated by Cap'n Proto compiler, DO NOT EDIT
    00002 // source: NvBlastExtTkSerialization.capn
    00003
    00004 #ifndef CAPNP_INCLUDED_affe4498f275ee58_
    00005 #define CAPNP_INCLUDED_affe4498f275ee58_
    00006
    00007 #include <capnp/generated-header-support.h>
    00008
    00009 #if CAPNP_VERSION != 6001
    00010 #error "Version mismatch between generated code and library headers.  You must use the same version of the Cap'n Proto compiler and library."
    00011 #endif
    00012
    00013 #include "NvBlastExtLlSerialization.capn.h"
    00014
    00015 namespace capnp {
    00016 namespace schemas {
    00017
    00018 CAPNP_DECLARE_SCHEMA(ffd67c4b7067dde6);
    00019 CAPNP_DECLARE_SCHEMA(b7dbad810488a897);
    00020 CAPNP_DECLARE_SCHEMA(ed817d93facd8e00);
    00021
    00022 }  // namespace schemas
    00023 }  // namespace capnp
    00024
    00025 namespace Nv {
    00026 namespace Blast {
    00027 namespace Serialization {
    00028
    00029 struct TkAsset {
    00030   TkAsset() = delete;
    00031
    00032   class Reader;
    00033   class Builder;
    00034   class Pipeline;
    00035
    00036   struct _capnpPrivate {
    00037     CAPNP_DECLARE_STRUCT_HEADER(ffd67c4b7067dde6, 0, 2)
    00038     #if !CAPNP_LITE
    00039     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
    00040     #endif  // !CAPNP_LITE
    00041   };
    00042 };
    00043
    00044 struct TkAssetJointDesc {
    00045   TkAssetJointDesc() = delete;
    00046
    00047   class Reader;
    00048   class Builder;
    00049   class Pipeline;
    00050
    00051   struct _capnpPrivate {
    00052     CAPNP_DECLARE_STRUCT_HEADER(b7dbad810488a897, 0, 2)
    00053     #if !CAPNP_LITE
    00054     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
    00055     #endif  // !CAPNP_LITE
    00056   };
    00057 };
    00058
    00059 struct PxVec3 {
    00060   PxVec3() = delete;
    00061
    00062   class Reader;
    00063   class Builder;
    00064   class Pipeline;
    00065
    00066   struct _capnpPrivate {
    00067     CAPNP_DECLARE_STRUCT_HEADER(ed817d93facd8e00, 2, 0)
    00068     #if !CAPNP_LITE
    00069     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
    00070     #endif  // !CAPNP_LITE
    00071   };
    00072 };
    00073
    00074 // =======================================================================================
    00075
    00076 class TkAsset::Reader {
    00077 public:
    00078   typedef TkAsset Reads;
    00079
    00080   Reader() = default;
    00081   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    00082
    00083   inline ::capnp::MessageSize totalSize() const {
    00084     return _reader.totalSize().asPublic();
    00085   }
    00086
    00087 #if !CAPNP_LITE
    00088   inline ::kj::StringTree toString() const {
    00089     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    00090   }
    00091 #endif  // !CAPNP_LITE
    00092
    00093   inline bool hasAssetLL() const;
    00094   inline  ::Nv::Blast::Serialization::Asset::Reader getAssetLL() const;
    00095
    00096   inline bool hasJointDescs() const;
    00097   inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Reader getJointDescs() const;
    00098
    00099 private:
    00100   ::capnp::_::StructReader _reader;
    00101   template <typename, ::capnp::Kind>
    00102   friend struct ::capnp::ToDynamic_;
    00103   template <typename, ::capnp::Kind>
    00104   friend struct ::capnp::_::PointerHelpers;
    00105   template <typename, ::capnp::Kind>
    00106   friend struct ::capnp::List;
    00107   friend class ::capnp::MessageBuilder;
    00108   friend class ::capnp::Orphanage;
    00109 };
    00110
    00111 class TkAsset::Builder {
    00112 public:
    00113   typedef TkAsset Builds;
    00114
    00115   Builder() = delete;  // Deleted to discourage incorrect usage.
    00116                        // You can explicitly initialize to nullptr instead.
    00117   inline Builder(decltype(nullptr)) {}
    00118   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    00119   inline operator Reader() const { return Reader(_builder.asReader()); }
    00120   inline Reader asReader() const { return *this; }
    00121
    00122   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    00123 #if !CAPNP_LITE
    00124   inline ::kj::StringTree toString() const { return asReader().toString(); }
    00125 #endif  // !CAPNP_LITE
    00126
    00127   inline bool hasAssetLL();
    00128   inline  ::Nv::Blast::Serialization::Asset::Builder getAssetLL();
    00129   inline void setAssetLL( ::Nv::Blast::Serialization::Asset::Reader value);
    00130   inline  ::Nv::Blast::Serialization::Asset::Builder initAssetLL();
    00131   inline void adoptAssetLL(::capnp::Orphan< ::Nv::Blast::Serialization::Asset>&& value);
    00132   inline ::capnp::Orphan< ::Nv::Blast::Serialization::Asset> disownAssetLL();
    00133
    00134   inline bool hasJointDescs();
    00135   inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Builder getJointDescs();
    00136   inline void setJointDescs( ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Reader value);
    00137   inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Builder initJointDescs(unsigned int size);
    00138   inline void adoptJointDescs(::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>&& value);
    00139   inline ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>> disownJointDescs();
    00140
    00141 private:
    00142   ::capnp::_::StructBuilder _builder;
    00143   template <typename, ::capnp::Kind>
    00144   friend struct ::capnp::ToDynamic_;
    00145   friend class ::capnp::Orphanage;
    00146   template <typename, ::capnp::Kind>
    00147   friend struct ::capnp::_::PointerHelpers;
    00148 };
    00149
    00150 #if !CAPNP_LITE
    00151 class TkAsset::Pipeline {
    00152 public:
    00153   typedef TkAsset Pipelines;
    00154
    00155   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    00156   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    00157       : _typeless(kj::mv(typeless)) {}
    00158
    00159   inline  ::Nv::Blast::Serialization::Asset::Pipeline getAssetLL();
    00160 private:
    00161   ::capnp::AnyPointer::Pipeline _typeless;
    00162   friend class ::capnp::PipelineHook;
    00163   template <typename, ::capnp::Kind>
    00164   friend struct ::capnp::ToDynamic_;
    00165 };
    00166 #endif  // !CAPNP_LITE
    00167
    00168 class TkAssetJointDesc::Reader {
    00169 public:
    00170   typedef TkAssetJointDesc Reads;
    00171
    00172   Reader() = default;
    00173   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    00174
    00175   inline ::capnp::MessageSize totalSize() const {
    00176     return _reader.totalSize().asPublic();
    00177   }
    00178
    00179 #if !CAPNP_LITE
    00180   inline ::kj::StringTree toString() const {
    00181     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    00182   }
    00183 #endif  // !CAPNP_LITE
    00184
    00185   inline bool hasNodeIndices() const;
    00186   inline  ::capnp::List< ::uint32_t>::Reader getNodeIndices() const;
    00187
    00188   inline bool hasAttachPositions() const;
    00189   inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Reader getAttachPositions() const;
    00190
    00191 private:
    00192   ::capnp::_::StructReader _reader;
    00193   template <typename, ::capnp::Kind>
    00194   friend struct ::capnp::ToDynamic_;
    00195   template <typename, ::capnp::Kind>
    00196   friend struct ::capnp::_::PointerHelpers;
    00197   template <typename, ::capnp::Kind>
    00198   friend struct ::capnp::List;
    00199   friend class ::capnp::MessageBuilder;
    00200   friend class ::capnp::Orphanage;
    00201 };
    00202
    00203 class TkAssetJointDesc::Builder {
    00204 public:
    00205   typedef TkAssetJointDesc Builds;
    00206
    00207   Builder() = delete;  // Deleted to discourage incorrect usage.
    00208                        // You can explicitly initialize to nullptr instead.
    00209   inline Builder(decltype(nullptr)) {}
    00210   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    00211   inline operator Reader() const { return Reader(_builder.asReader()); }
    00212   inline Reader asReader() const { return *this; }
    00213
    00214   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    00215 #if !CAPNP_LITE
    00216   inline ::kj::StringTree toString() const { return asReader().toString(); }
    00217 #endif  // !CAPNP_LITE
    00218
    00219   inline bool hasNodeIndices();
    00220   inline  ::capnp::List< ::uint32_t>::Builder getNodeIndices();
    00221   inline void setNodeIndices( ::capnp::List< ::uint32_t>::Reader value);
    00222   inline void setNodeIndices(::kj::ArrayPtr<const  ::uint32_t> value);
    00223   inline  ::capnp::List< ::uint32_t>::Builder initNodeIndices(unsigned int size);
    00224   inline void adoptNodeIndices(::capnp::Orphan< ::capnp::List< ::uint32_t>>&& value);
    00225   inline ::capnp::Orphan< ::capnp::List< ::uint32_t>> disownNodeIndices();
    00226
    00227   inline bool hasAttachPositions();
    00228   inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Builder getAttachPositions();
    00229   inline void setAttachPositions( ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Reader value);
    00230   inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Builder initAttachPositions(unsigned int size);
    00231   inline void adoptAttachPositions(::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>&& value);
    00232   inline ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>> disownAttachPositions();
    00233
    00234 private:
    00235   ::capnp::_::StructBuilder _builder;
    00236   template <typename, ::capnp::Kind>
    00237   friend struct ::capnp::ToDynamic_;
    00238   friend class ::capnp::Orphanage;
    00239   template <typename, ::capnp::Kind>
    00240   friend struct ::capnp::_::PointerHelpers;
    00241 };
    00242
    00243 #if !CAPNP_LITE
    00244 class TkAssetJointDesc::Pipeline {
    00245 public:
    00246   typedef TkAssetJointDesc Pipelines;
    00247
    00248   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    00249   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    00250       : _typeless(kj::mv(typeless)) {}
    00251
    00252 private:
    00253   ::capnp::AnyPointer::Pipeline _typeless;
    00254   friend class ::capnp::PipelineHook;
    00255   template <typename, ::capnp::Kind>
    00256   friend struct ::capnp::ToDynamic_;
    00257 };
    00258 #endif  // !CAPNP_LITE
    00259
    00260 class PxVec3::Reader {
    00261 public:
    00262   typedef PxVec3 Reads;
    00263
    00264   Reader() = default;
    00265   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    00266
    00267   inline ::capnp::MessageSize totalSize() const {
    00268     return _reader.totalSize().asPublic();
    00269   }
    00270
    00271 #if !CAPNP_LITE
    00272   inline ::kj::StringTree toString() const {
    00273     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    00274   }
    00275 #endif  // !CAPNP_LITE
    00276
    00277   inline float getX() const;
    00278
    00279   inline float getY() const;
    00280
    00281   inline float getZ() const;
    00282
    00283 private:
    00284   ::capnp::_::StructReader _reader;
    00285   template <typename, ::capnp::Kind>
    00286   friend struct ::capnp::ToDynamic_;
    00287   template <typename, ::capnp::Kind>
    00288   friend struct ::capnp::_::PointerHelpers;
    00289   template <typename, ::capnp::Kind>
    00290   friend struct ::capnp::List;
    00291   friend class ::capnp::MessageBuilder;
    00292   friend class ::capnp::Orphanage;
    00293 };
    00294
    00295 class PxVec3::Builder {
    00296 public:
    00297   typedef PxVec3 Builds;
    00298
    00299   Builder() = delete;  // Deleted to discourage incorrect usage.
    00300                        // You can explicitly initialize to nullptr instead.
    00301   inline Builder(decltype(nullptr)) {}
    00302   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    00303   inline operator Reader() const { return Reader(_builder.asReader()); }
    00304   inline Reader asReader() const { return *this; }
    00305
    00306   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    00307 #if !CAPNP_LITE
    00308   inline ::kj::StringTree toString() const { return asReader().toString(); }
    00309 #endif  // !CAPNP_LITE
    00310
    00311   inline float getX();
    00312   inline void setX(float value);
    00313
    00314   inline float getY();
    00315   inline void setY(float value);
    00316
    00317   inline float getZ();
    00318   inline void setZ(float value);
    00319
    00320 private:
    00321   ::capnp::_::StructBuilder _builder;
    00322   template <typename, ::capnp::Kind>
    00323   friend struct ::capnp::ToDynamic_;
    00324   friend class ::capnp::Orphanage;
    00325   template <typename, ::capnp::Kind>
    00326   friend struct ::capnp::_::PointerHelpers;
    00327 };
    00328
    00329 #if !CAPNP_LITE
    00330 class PxVec3::Pipeline {
    00331 public:
    00332   typedef PxVec3 Pipelines;
    00333
    00334   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    00335   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    00336       : _typeless(kj::mv(typeless)) {}
    00337
    00338 private:
    00339   ::capnp::AnyPointer::Pipeline _typeless;
    00340   friend class ::capnp::PipelineHook;
    00341   template <typename, ::capnp::Kind>
    00342   friend struct ::capnp::ToDynamic_;
    00343 };
    00344 #endif  // !CAPNP_LITE
    00345
    00346 // =======================================================================================
    00347
    00348 inline bool TkAsset::Reader::hasAssetLL() const {
    00349   return !_reader.getPointerField(
    00350       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    00351 }
    00352 inline bool TkAsset::Builder::hasAssetLL() {
    00353   return !_builder.getPointerField(
    00354       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    00355 }
    00356 inline  ::Nv::Blast::Serialization::Asset::Reader TkAsset::Reader::getAssetLL() const {
    00357   return ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::get(_reader.getPointerField(
    00358       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00359 }
    00360 inline  ::Nv::Blast::Serialization::Asset::Builder TkAsset::Builder::getAssetLL() {
    00361   return ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::get(_builder.getPointerField(
    00362       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00363 }
    00364 #if !CAPNP_LITE
    00365 inline  ::Nv::Blast::Serialization::Asset::Pipeline TkAsset::Pipeline::getAssetLL() {
    00366   return  ::Nv::Blast::Serialization::Asset::Pipeline(_typeless.getPointerField(0));
    00367 }
    00368 #endif  // !CAPNP_LITE
    00369 inline void TkAsset::Builder::setAssetLL( ::Nv::Blast::Serialization::Asset::Reader value) {
    00370   ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::set(_builder.getPointerField(
    00371       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    00372 }
    00373 inline  ::Nv::Blast::Serialization::Asset::Builder TkAsset::Builder::initAssetLL() {
    00374   return ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::init(_builder.getPointerField(
    00375       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00376 }
    00377 inline void TkAsset::Builder::adoptAssetLL(
    00378     ::capnp::Orphan< ::Nv::Blast::Serialization::Asset>&& value) {
    00379   ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::adopt(_builder.getPointerField(
    00380       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    00381 }
    00382 inline ::capnp::Orphan< ::Nv::Blast::Serialization::Asset> TkAsset::Builder::disownAssetLL() {
    00383   return ::capnp::_::PointerHelpers< ::Nv::Blast::Serialization::Asset>::disown(_builder.getPointerField(
    00384       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00385 }
    00386
    00387 inline bool TkAsset::Reader::hasJointDescs() const {
    00388   return !_reader.getPointerField(
    00389       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
    00390 }
    00391 inline bool TkAsset::Builder::hasJointDescs() {
    00392   return !_builder.getPointerField(
    00393       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
    00394 }
    00395 inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Reader TkAsset::Reader::getJointDescs() const {
    00396   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::get(_reader.getPointerField(
    00397       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00398 }
    00399 inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Builder TkAsset::Builder::getJointDescs() {
    00400   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::get(_builder.getPointerField(
    00401       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00402 }
    00403 inline void TkAsset::Builder::setJointDescs( ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Reader value) {
    00404   ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::set(_builder.getPointerField(
    00405       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
    00406 }
    00407 inline  ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>::Builder TkAsset::Builder::initJointDescs(unsigned int size) {
    00408   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::init(_builder.getPointerField(
    00409       ::capnp::bounded<1>() * ::capnp::POINTERS), size);
    00410 }
    00411 inline void TkAsset::Builder::adoptJointDescs(
    00412     ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>&& value) {
    00413   ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::adopt(_builder.getPointerField(
    00414       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
    00415 }
    00416 inline ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>> TkAsset::Builder::disownJointDescs() {
    00417   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::TkAssetJointDesc>>::disown(_builder.getPointerField(
    00418       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00419 }
    00420
    00421 inline bool TkAssetJointDesc::Reader::hasNodeIndices() const {
    00422   return !_reader.getPointerField(
    00423       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    00424 }
    00425 inline bool TkAssetJointDesc::Builder::hasNodeIndices() {
    00426   return !_builder.getPointerField(
    00427       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    00428 }
    00429 inline  ::capnp::List< ::uint32_t>::Reader TkAssetJointDesc::Reader::getNodeIndices() const {
    00430   return ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::get(_reader.getPointerField(
    00431       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00432 }
    00433 inline  ::capnp::List< ::uint32_t>::Builder TkAssetJointDesc::Builder::getNodeIndices() {
    00434   return ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::get(_builder.getPointerField(
    00435       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00436 }
    00437 inline void TkAssetJointDesc::Builder::setNodeIndices( ::capnp::List< ::uint32_t>::Reader value) {
    00438   ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::set(_builder.getPointerField(
    00439       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    00440 }
    00441 inline void TkAssetJointDesc::Builder::setNodeIndices(::kj::ArrayPtr<const  ::uint32_t> value) {
    00442   ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::set(_builder.getPointerField(
    00443       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    00444 }
    00445 inline  ::capnp::List< ::uint32_t>::Builder TkAssetJointDesc::Builder::initNodeIndices(unsigned int size) {
    00446   return ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::init(_builder.getPointerField(
    00447       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    00448 }
    00449 inline void TkAssetJointDesc::Builder::adoptNodeIndices(
    00450     ::capnp::Orphan< ::capnp::List< ::uint32_t>>&& value) {
    00451   ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::adopt(_builder.getPointerField(
    00452       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    00453 }
    00454 inline ::capnp::Orphan< ::capnp::List< ::uint32_t>> TkAssetJointDesc::Builder::disownNodeIndices() {
    00455   return ::capnp::_::PointerHelpers< ::capnp::List< ::uint32_t>>::disown(_builder.getPointerField(
    00456       ::capnp::bounded<0>() * ::capnp::POINTERS));
    00457 }
    00458
    00459 inline bool TkAssetJointDesc::Reader::hasAttachPositions() const {
    00460   return !_reader.getPointerField(
    00461       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
    00462 }
    00463 inline bool TkAssetJointDesc::Builder::hasAttachPositions() {
    00464   return !_builder.getPointerField(
    00465       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
    00466 }
    00467 inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Reader TkAssetJointDesc::Reader::getAttachPositions() const {
    00468   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::get(_reader.getPointerField(
    00469       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00470 }
    00471 inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Builder TkAssetJointDesc::Builder::getAttachPositions() {
    00472   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::get(_builder.getPointerField(
    00473       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00474 }
    00475 inline void TkAssetJointDesc::Builder::setAttachPositions( ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Reader value) {
    00476   ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::set(_builder.getPointerField(
    00477       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
    00478 }
    00479 inline  ::capnp::List< ::Nv::Blast::Serialization::PxVec3>::Builder TkAssetJointDesc::Builder::initAttachPositions(unsigned int size) {
    00480   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::init(_builder.getPointerField(
    00481       ::capnp::bounded<1>() * ::capnp::POINTERS), size);
    00482 }
    00483 inline void TkAssetJointDesc::Builder::adoptAttachPositions(
    00484     ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>&& value) {
    00485   ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::adopt(_builder.getPointerField(
    00486       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
    00487 }
    00488 inline ::capnp::Orphan< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>> TkAssetJointDesc::Builder::disownAttachPositions() {
    00489   return ::capnp::_::PointerHelpers< ::capnp::List< ::Nv::Blast::Serialization::PxVec3>>::disown(_builder.getPointerField(
    00490       ::capnp::bounded<1>() * ::capnp::POINTERS));
    00491 }
    00492
    00493 inline float PxVec3::Reader::getX() const {
    00494   return _reader.getDataField<float>(
    00495       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    00496 }
    00497
    00498 inline float PxVec3::Builder::getX() {
    00499   return _builder.getDataField<float>(
    00500       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    00501 }
    00502 inline void PxVec3::Builder::setX(float value) {
    00503   _builder.setDataField<float>(
    00504       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
    00505 }
    00506
    00507 inline float PxVec3::Reader::getY() const {
    00508   return _reader.getDataField<float>(
    00509       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
    00510 }
    00511
    00512 inline float PxVec3::Builder::getY() {
    00513   return _builder.getDataField<float>(
    00514       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
    00515 }
    00516 inline void PxVec3::Builder::setY(float value) {
    00517   _builder.setDataField<float>(
    00518       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
    00519 }
    00520
    00521 inline float PxVec3::Reader::getZ() const {
    00522   return _reader.getDataField<float>(
    00523       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
    00524 }
    00525
    00526 inline float PxVec3::Builder::getZ() {
    00527   return _builder.getDataField<float>(
    00528       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
    00529 }
    00530 inline void PxVec3::Builder::setZ(float value) {
    00531   _builder.setDataField<float>(
    00532       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
    00533 }
    00534
    00535 }  // namespace
    00536 }  // namespace
    00537 }  // namespace
    00538
    00539 #endif  // CAPNP_INCLUDED_affe4498f275ee58_

Copyright © 2015-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com