diff options
Diffstat (limited to 'support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp')
-rw-r--r-- | support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp b/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp index 08bb47d61ac..92673e33d62 100644 --- a/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp +++ b/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp @@ -1,9 +1,9 @@ -// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- +// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- // // THE CONTENTS OF THIS FILE IS GENERATED BY CODE AND // ANY MODIFICATIONS WILL BE OVERWRITTEN // -// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- +// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- // %BANNER_BEGIN% // --------------------------------------------------------------------- @@ -17,20 +17,27 @@ // --------------------------------------------------------------------- // %BANNER_END% +// %SRC_VERSION%: 1 + #include <SceneDescriptor.h> -SceneDescriptor::SceneDescriptor(const char * exportedName, const char * id, const char * sceneGraphPath, const char * resourceModelPath, const ExportedNodeReferences& exportedNodeReferences, bool initiallyInstanced) +SceneDescriptor::SceneDescriptor(int index, const char * externalName, const char * id, const char * sceneGraphPath, const char * resourceModelPath, const ExternalNodeReferences& externalNodeReferences, bool initiallySpawned) : - exportedName_(exportedName), + index_(index), + externalName_(externalName), id_(id), sceneGraphPath_(sceneGraphPath), resourceModelPath_(resourceModelPath), - exportedNodeReferences_(exportedNodeReferences), - initiallyInstanced_(initiallyInstanced) { + externalNodeReferences_(externalNodeReferences), + initiallySpawned_(initiallySpawned) { +} + +int SceneDescriptor::getIndex() const { + return index_; } -const std::string & SceneDescriptor::getExportedName() const { - return exportedName_; +const std::string & SceneDescriptor::getExternalName() const { + return externalName_; } const std::string & SceneDescriptor::getId() const { @@ -45,10 +52,15 @@ const std::string & SceneDescriptor::getResourceModelPath() const { return resourceModelPath_; } -const SceneDescriptor::ExportedNodeReferences & SceneDescriptor::getExportedNodeReferences() const { - return exportedNodeReferences_; +const SceneDescriptor::ExternalNodeReferences & SceneDescriptor::getExternalNodeReferences() const { + return externalNodeReferences_; } -bool SceneDescriptor::getInitiallyInstanced() const { - return initiallyInstanced_; +bool SceneDescriptor::getInitiallySpawned() const { + return initiallySpawned_; } + +bool operator<(const SceneDescriptor& a, const SceneDescriptor& b) { + return a.getExternalName() < b.getExternalName(); +} + |