|
Bifrost SDK
Bifrost SDK documentation
|
This class is a RAII guard for a Range geo property. More...
#include <GeoPropertyGuard.h>
Public Member Functions | |
| RangeGeoPropertyGuard ()=default | |
| Constructor. More... | |
| operator bool () const noexcept | |
| Returns true if the guard has acquired a geo property. More... | |
| const Amino::Array< Bifrost::Geometry::Index > & | indices () const noexcept |
| Returns the index array of the geo property. More... | |
| Amino::Array< Bifrost::Geometry::Index > & | indices () noexcept |
| Returns the index array of the geo property. More... | |
| const Amino::String & | target () const noexcept |
| Returns the target of the geo property. More... | |
| Amino::String & | target () noexcept |
| Returns the target of the geo property. More... | |
| const Amino::Array< Amino::String > & | dependsOn () const noexcept |
| Returns the value of the depends_on field in the geo property. More... | |
| Amino::Array< Amino::String > & | dependsOn () noexcept |
| Returns the value of the depends_on field in the geo property. More... | |
This class is a RAII guard for a Range geo property.
This class is used to extract, modify and then set back a Range geo property value within a geometry object. This is the preferred method to modify the geo properties of a geometry since extracting the geo property does not increase its reference count, and thus if there are no other references to the value, it will be modified in-place and no copy-on-write will occur. See Amino::Ptr for more details on reference counting.
Do not construct a RangeGeoProperty guard directly. Use Bifrost::Geometry::createRangeGeoPropGuard instead.
Definition at line 439 of file GeoPropertyGuard.h.
|
default |
Constructor.
|
inlinenoexcept |
Returns the value of the depends_on field in the geo property.
Definition at line 463 of file GeoPropertyGuard.h.
|
inlinenoexcept |
Returns the value of the depends_on field in the geo property.
Definition at line 466 of file GeoPropertyGuard.h.
|
inlinenoexcept |
Returns the index array of the geo property.
Definition at line 449 of file GeoPropertyGuard.h.
|
inlinenoexcept |
Returns the index array of the geo property.
Definition at line 452 of file GeoPropertyGuard.h.
|
inlineexplicitnoexcept |
Returns true if the guard has acquired a geo property.
Definition at line 445 of file GeoPropertyGuard.h.
|
inlinenoexcept |
Returns the target of the geo property.
Definition at line 456 of file GeoPropertyGuard.h.
|
inlinenoexcept |
Returns the target of the geo property.
Definition at line 459 of file GeoPropertyGuard.h.