Blender  V3.3
Public Member Functions | Public Attributes | Protected Attributes | List of all members
blender::ed::spreadsheet::ColumnValues Class Referencefinal

#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 GVArraydata () const
 

Public Attributes

float default_width = 0.0f
 

Protected Attributes

std::string name_
 
GVArray data_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ColumnValues()

blender::ed::spreadsheet::ColumnValues::ColumnValues ( std::string  name,
GVArray  data 
)
inline

Definition at line 27 of file spreadsheet_column_values.hh.

References BLI_assert, and data_.

◆ ~ColumnValues()

virtual blender::ed::spreadsheet::ColumnValues::~ColumnValues ( )
virtualdefault

Member Function Documentation

◆ data()

const GVArray& blender::ed::spreadsheet::ColumnValues::data ( ) const
inline

◆ name()

StringRefNull blender::ed::spreadsheet::ColumnValues::name ( ) const
inline

◆ size()

int blender::ed::spreadsheet::ColumnValues::size ( ) const
inline

◆ type()

eSpreadsheetColumnValueType blender::ed::spreadsheet::ColumnValues::type ( ) const
inline

Member Data Documentation

◆ data_

GVArray blender::ed::spreadsheet::ColumnValues::data_
protected

Definition at line 24 of file spreadsheet_column_values.hh.

Referenced by ColumnValues(), data(), size(), and type().

◆ default_width

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().

◆ name_

std::string blender::ed::spreadsheet::ColumnValues::name_
protected

Definition at line 22 of file spreadsheet_column_values.hh.

Referenced by name().


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