Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
OfAttrTableState Class Reference

Public Member Functions

 ~OfAttrTableState (void)
 
 OfAttrTableState (OfAttrTableState &&other) noexcept
 
OfAttrTableStateoperator= (OfAttrTableState &&other) noexcept
 
 OfAttrTableState (void) noexcept
 
 OfAttrTableState (const OfAttrTableState &other)
 
OfAttrTableStateoperator= (const OfAttrTableState &other)
 
bool operator== (const OfAttrTableState &other) const
 
const CoreStringget_full_name (void) const
 
CoreString get_text (void) const
 

Friends

class OfAttrTable
 

Detailed Description

This class is used to store the state of a whole table. It can only be acquired by a call to OfAttrStable::save_state, and can be used by OfAttrStable to restore the state of the whole table (number of rows, values, states of each cells, etc.)

Constructor & Destructor Documentation

OfAttrTableState::~OfAttrTableState ( void  )

Destructor

OfAttrTableState::OfAttrTableState ( OfAttrTableState &&  other)
noexcept

Move-constructor

OfAttrTableState::OfAttrTableState ( void  )
inlinenoexcept

Default constructor. Construct an invalid state.

OfAttrTableState::OfAttrTableState ( const OfAttrTableState other)

Copy-constructor

Member Function Documentation

const CoreString & OfAttrTableState::get_full_name ( void  ) const

Get the full name of the table this state was saved on.

CoreString OfAttrTableState::get_text ( void  ) const

Get the serialized text of the state. This will return a string containing 1 line per column's state.

OfAttrTableState & OfAttrTableState::operator= ( OfAttrTableState &&  other)
noexcept

Move-assigment

OfAttrTableState & OfAttrTableState::operator= ( const OfAttrTableState other)

Copy-assignment

bool OfAttrTableState::operator== ( const OfAttrTableState other) const

Test equality between 2 table states.