Kanzi  3.9.7
Kanzi Engine API
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. More...
 
StateObjectIterator beginStateObjects () const
 Returns iterator to first state object. More...
 
StateObjectIterator endStateObjects () const
 Returns iterator to last state object. More...
 
bool equalControlValue (const Variant &value) const
 Returns true if control property value of the state is equal to attribute. More...
 
bool equalName (string_view name) const
 Returns true if name of the state is equal to attribute. More...
 
const string & getName () const
 Returns name of the state. More...
 
Stateoperator= (State &&other)=default
 
void setControlValue (const Variant &value)
 Sets control property value of the state. More...
 
void setName (string_view name)
 Sets name of the state. More...
 
 State (State &&other)=default
 

Static Public Member Functions

static StatePtr create ()
 

Constructor & Destructor Documentation

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

Member Function Documentation

static StatePtr kanzi::StateManager::State::create ( )
static
State& kanzi::StateManager::State::operator= ( State &&  other)
default
void kanzi::StateManager::State::setName ( string_view  name)

Sets name of the state.

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

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

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

Returns name of the state.

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

Sets control property value of the state.

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

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

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

Adds new state object to state.

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

Returns iterator to first state object.

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

Returns iterator to last state object.


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