![]() |
NDEVR
API Documentation
|
Provides a compile-time property interface for reading and writing PaperViewProperty values on a DesignInfo object. More...
Static Public Member Functions | |
| static TableColumn * | column (const DesignInfo *object, PaperViewProperty property) |
| Retrieves the TableColumn pointer for a given property on the specified design object. | |
| template<PaperViewProperty t_property, class t_value_type> | |
| static decltype(auto) | Get (const DesignInfo *object) |
| Gets a PaperViewProperty value from the given design object (typed overload). | |
| template<PaperViewProperty t_property> | |
| static decltype(auto) | Get (const DesignInfo *object) |
| Gets a PaperViewProperty value from the given design object. | |
| static uint04 | index (const DesignInfo *object, PaperViewProperty property) |
| Retrieves the row index for a given property on the specified design object. | |
| static bool | IsSame (const DesignInfo *object, t_value_type property, const StringView &value) |
| Checks whether a property's stored value matches a given string representation. | |
| template<PaperViewProperty t_property, class t_value_type> | |
| static void | Set (DesignInfo *object, const t_value_type &value) |
| Sets a PaperViewProperty value on the given design object. | |
Provides a compile-time property interface for reading and writing PaperViewProperty values on a DesignInfo object.
Delegates to the appropriate PaperView getter/setter based on the template property parameter.
Definition at line 267 of file PaperView.h.
|
inlinestatic |
Retrieves the TableColumn pointer for a given property on the specified design object.
| [in] | object | The design object to query. |
| [in] | property | The property enum value identifying the column. |
Definition at line 133 of file DesignProperties.h.
|
inlinestatic |
Gets a PaperViewProperty value from the given design object (typed overload).
| [in] | object | The DesignInfo object to read from. |
Definition at line 312 of file PaperView.h.
References Get().
|
inlinestatic |
Gets a PaperViewProperty value from the given design object.
| [in] | object | The DesignInfo object to read from. |
Definition at line 294 of file PaperView.h.
References PaperView::dotsPerMeter(), PaperView::margins(), PaperView::paperSize(), and PaperView::worldBounds().
Referenced by Get().
|
inlinestatic |
Retrieves the row index for a given property on the specified design object.
| [in] | object | The design object to query. |
| [in] | property | The property enum value. |
Definition at line 144 of file DesignProperties.h.
|
inlinestatic |
Checks whether a property's stored value matches a given string representation.
| t_value_type | The property enum type. |
| [in] | object | The design object to query. |
| [in] | property | The property enum value identifying which property to compare. |
| [in] | value | The string to compare against. |
Definition at line 222 of file DesignProperties.h.
|
inlinestatic |
Sets a PaperViewProperty value on the given design object.
| [in] | object | The DesignInfo object to modify. |
| [in] | value | The value to assign to the specified property. |
Definition at line 276 of file PaperView.h.
References PaperView::setDotsPerMeter(), PaperView::setMargins(), PaperView::setPaperSize(), and PaperView::setWorldBounds().