Blender
V3.3
|
#include <spreadsheet_column_values.hh>
Public Member Functions | |
ColumnValues (std::string name, GVArray data) | |
virtual | ~ColumnValues ()=default |
eSpreadsheetColumnValueType | type () const |
StringRefNull | name () const |
int | size () const |
const GVArray & | data () const |
Public Attributes | |
float | default_width = 0.0f |
Protected Attributes | |
std::string | name_ |
GVArray | data_ |
This represents a column in a spreadsheet. It has a name and provides a value for all the cells in the column.
Definition at line 20 of file spreadsheet_column_values.hh.
|
inline |
Definition at line 27 of file spreadsheet_column_values.hh.
References BLI_assert, and data_.
|
virtualdefault |
|
inline |
Definition at line 50 of file spreadsheet_column_values.hh.
References data_.
Referenced by blender::ed::spreadsheet::apply_row_filter(), and blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell().
|
inline |
Definition at line 40 of file spreadsheet_column_values.hh.
References name_.
Referenced by get_column_width(), blender::ed::spreadsheet::spreadsheet_filter_rows(), and spreadsheet_main_region_draw().
|
inline |
Definition at line 45 of file spreadsheet_column_values.hh.
References data_, and blender::GVArrayCommon::size().
Referenced by blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell().
|
inline |
Definition at line 35 of file spreadsheet_column_values.hh.
References blender::ed::spreadsheet::cpp_type_to_column_type(), data_, and blender::GVArrayCommon::type().
Referenced by get_default_column_width(), and spreadsheet_main_region_draw().
|
protected |
Definition at line 24 of file spreadsheet_column_values.hh.
Referenced by ColumnValues(), data(), size(), and type().
float blender::ed::spreadsheet::ColumnValues::default_width = 0.0f |
Definition at line 56 of file spreadsheet_column_values.hh.
Referenced by get_default_column_width().
|
protected |
Definition at line 22 of file spreadsheet_column_values.hh.
Referenced by name().