kanzi::StateManager::State Class Reference

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

Public Member Functions

 State (KZ_RV_REF(State) other)
 
Stateoperator= (KZ_RV_REF(State) other)
 
void setName (string_view name)
 Sets name of the state. 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...
 
void setControlValue (const Variant &value)
 Sets control property value of the state. More...
 
bool equalControlValue (const Variant &value) const
 Returns true if control property value of the state is equal to attribute. More...
 
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...
 

Static Public Member Functions

static StatePtr create ()
 

Constructor & Destructor Documentation

kanzi::StateManager::State::State ( KZ_RV_REF(State other)
inline

Member Function Documentation

static StatePtr kanzi::StateManager::State::create ( )
static
State& kanzi::StateManager::State::operator= ( KZ_RV_REF(State other)
inline
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: