NDEVR
API Documentation
PropertyColumnInterface< t_property_enum >

Provides access to the TableColumn and row index for a given property enum value. More...

Inheritance diagram for PropertyColumnInterface< t_property_enum >:
[legend]

Static Public Member Functions

static TableColumncolumn (const DesignInfo *object, t_property_enum property)
 Retrieves the TableColumn pointer for a given property on the specified design object.
static uint04 index (const DesignInfo *object, t_property_enum property)
 Retrieves the row index for a given property on the specified design object.

Detailed Description

template<class t_property_enum>
class PropertyColumnInterface< t_property_enum >

Provides access to the TableColumn and row index for a given property enum value.


Specializations of this class map each property enum to the correct column in the DesignObjectBase property database.

Template Parameters
t_property_enumThe property enum type (e.g., NDPO, NDPOC).

Definition at line 84 of file DesignProperties.h.

Member Function Documentation

◆ column()

template<class t_property_enum>
TableColumn * PropertyColumnInterface< t_property_enum >::column ( const DesignInfo * object,
t_property_enum property )
static

Retrieves the TableColumn pointer for a given property on the specified design object.


Parameters
[in]objectThe design object to query.
[in]propertyThe property enum value identifying the column.
Returns
Pointer to the TableColumn storing the property data.

Referenced by PropertyInterface< t_property_enum >::column().

◆ index()

template<class t_property_enum>
uint04 PropertyColumnInterface< t_property_enum >::index ( const DesignInfo * object,
t_property_enum property )
static

Retrieves the row index for a given property on the specified design object.


Parameters
[in]objectThe design object to query.
[in]propertyThe property enum value.
Returns
The row index into the property column.

Referenced by PropertyInterface< t_property_enum >::index().


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