|
| static TableColumn * | column (const DesignInfo *object, t_property_enum property) |
| | Retrieves the TableColumn pointer for a given property on the specified design object.
|
| template<t_property_enum t_property> |
| static decltype(auto) | Get (const DesignInfo *object) |
| | Gets the value of a compile-time property, with the type deduced from PropertySpec.
|
| template<t_property_enum t_property, class t_value_type> |
| static decltype(auto) | Get (const DesignInfo *object) |
| | Gets the value of a compile-time property from a design object with an explicit value type.
|
| template<class t_value_type> |
| static decltype(auto) | Get (const DesignInfo *object, t_property_enum property) |
| | Gets the value of a property from a design object using a runtime property enum.
|
| static uint04 | index (const DesignInfo *object, t_property_enum property) |
| | Retrieves the row index for a given property on the specified design object.
|
| template<class t_value_type> |
| 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<t_property_enum t_property, class t_value_type> |
| static void | Set (DesignInfo *object, const t_value_type &value) |
| | Sets the value of a compile-time property on a design object.
|
| template<class t_value_type> |
| static void | Set (DesignInfo *object, t_property_enum property, const t_value_type &value) |
| | Sets the value of a property on a design object using a runtime property enum.
|
template<class t_property_enum>
class PropertyInterface< t_property_enum >
Typed interface for getting and setting design object properties by enum.
Provides static Get, Set, and IsSame methods that resolve the correct TableColumn and row index for a given property enum, then perform the typed read or write operation.
- Template Parameters
-
| t_property_enum | The property enum type (e.g., NDPO, NDPOC). |
Definition at line 124 of file DesignProperties.h.
template<class t_property_enum>
template<t_property_enum t_property, class t_value_type>
Gets the value of a compile-time property from a design object with an explicit value type.
- Template Parameters
-
| t_property | The compile-time property enum value. |
| t_value_type | The expected return type. |
- Parameters
-
| [in] | object | The design object to query. |
- Returns
- The property value cast to t_value_type.
Definition at line 196 of file DesignProperties.h.
References column(), and index().
template<class t_property_enum>
template<class t_value_type>
Gets the value of a property from a design object using a runtime property enum.
- Template Parameters
-
| t_value_type | The expected return type. |
- Parameters
-
| [in] | object | The design object to query. |
| [in] | property | The property enum value identifying which property to read. |
- Returns
- The property value cast to t_value_type.
Definition at line 183 of file DesignProperties.h.
References column(), and index().
template<class t_property_enum>
template<class t_property_enum>
template<class t_value_type>
template<class t_property_enum>
template<t_property_enum t_property, class t_value_type>
Sets the value of a compile-time property on a design object.
- Template Parameters
-
| t_property | The compile-time property enum value. |
| t_value_type | The type of the value to set. |
- Parameters
-
| [in] | object | The design object to modify. |
| [in] | value | The value to assign. |
Definition at line 170 of file DesignProperties.h.
References column(), index(), and TableColumn::set().
template<class t_property_enum>
template<class t_value_type>
Sets the value of a property on a design object using a runtime property enum.
- Template Parameters
-
| t_value_type | The type of the value to set. |
- Parameters
-
| [in] | object | The design object to modify. |
| [in] | property | The property enum value identifying which property to set. |
| [in] | value | The value to assign. |
Definition at line 157 of file DesignProperties.h.
References column(), index(), and TableColumn::set().
Referenced by DesignObject::set().