Kanzi 3.9.10
kanzi::StateManager::State Class Reference

#include <kanzi/core.ui/state_manager/state_manager.hpp>

Public Member Functions

void addStateObject (StateObjectPtr stateObject)
 Adds new state object to state.
 
StateObjectIterator beginStateObjects () const
 Returns iterator to first state object.
 
StateObjectIterator endStateObjects () const
 Returns iterator to last state object.
 
bool equalControlValue (const Variant &value) const
 Returns true if control property value of the state is equal to attribute.
 
bool equalName (string_view name) const
 Returns true if name of the state is equal to attribute.
 
const string & getName () const
 Returns name of the state.
 
Stateoperator= (State &&other)=default
 
void setControlValue (const Variant &value)
 Sets control property value of the state.
 
void setName (string_view name)
 Sets name of the state.
 
 State (State &&other)=default
 

Static Public Member Functions

static StatePtr create ()
 

Constructor & Destructor Documentation

◆ State()

kanzi::StateManager::State::State ( State && other)
default

Member Function Documentation

◆ create()

static StatePtr kanzi::StateManager::State::create ( )
static

◆ operator=()

State & kanzi::StateManager::State::operator= ( State && other)
default

◆ setName()

void kanzi::StateManager::State::setName ( string_view name)

Sets name of the state.

◆ equalName()

bool kanzi::StateManager::State::equalName ( string_view name) const

Returns true if name of the state is equal to attribute.

◆ getName()

const string & kanzi::StateManager::State::getName ( ) const

Returns name of the state.

◆ setControlValue()

void kanzi::StateManager::State::setControlValue ( const Variant & value)

Sets control property value of the state.

◆ equalControlValue()

bool kanzi::StateManager::State::equalControlValue ( const Variant & value) const

Returns true if control property value of the state is equal to attribute.

◆ addStateObject()

void kanzi::StateManager::State::addStateObject ( StateObjectPtr stateObject)

Adds new state object to state.

◆ beginStateObjects()

StateObjectIterator kanzi::StateManager::State::beginStateObjects ( ) const

Returns iterator to first state object.

◆ endStateObjects()

StateObjectIterator kanzi::StateManager::State::endStateObjects ( ) const

Returns iterator to last state object.


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