ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::io::speckle::InstanceDefinitionProxy Struct Reference

Shared definition for instance proxies. More...

#include <speckle.hpp>

Inheritance diagram for reusex::io::speckle::InstanceDefinitionProxy:
Collaboration diagram for reusex::io::speckle::InstanceDefinitionProxy:

Public Member Functions

 InstanceDefinitionProxy ()
Public Member Functions inherited from reusex::io::speckle::Base
virtual ~Base ()=default

Public Attributes

std::string definitionAppId
int maxDepth = 0
std::string units = "m"
std::vector< std::string > objects
Public Attributes inherited from reusex::io::speckle::Base
std::string speckle_type = "Base"
std::string applicationId
std::string name
std::map< std::string, nlohmann::json > properties
 Custom properties — serialized nested under a "properties" sub-path (Speckle v3 DataObject convention).
std::vector< std::shared_ptr< Base > > elements
 Child objects (serialized as detached @elements).

Detailed Description

Shared definition for instance proxies.

The definitionAppId is what InstanceProxy.definitionId must match. The objects list holds the applicationId of every geometry object that participates in the definition; those objects live as siblings of the InstanceProxy entries in the host collection's elements (Speckle v3 proxy pattern).

Definition at line 86 of file speckle.hpp.

Constructor & Destructor Documentation

◆ InstanceDefinitionProxy()

reusex::io::speckle::InstanceDefinitionProxy::InstanceDefinitionProxy ( )
inline

Definition at line 92 of file speckle.hpp.

References reusex::io::speckle::Base::speckle_type.

Member Data Documentation

◆ definitionAppId

std::string reusex::io::speckle::InstanceDefinitionProxy::definitionAppId

Definition at line 87 of file speckle.hpp.

◆ maxDepth

int reusex::io::speckle::InstanceDefinitionProxy::maxDepth = 0

Definition at line 88 of file speckle.hpp.

◆ objects

std::vector<std::string> reusex::io::speckle::InstanceDefinitionProxy::objects

Definition at line 90 of file speckle.hpp.

◆ units

std::string reusex::io::speckle::InstanceDefinitionProxy::units = "m"

Definition at line 89 of file speckle.hpp.


The documentation for this struct was generated from the following file: