All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::StateManager::State Class Reference

#include <kanzi/state_manager/state_manager.hpp>

Public Member Functions

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 (const StateObjectSharedPtr &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 StateSharedPtr create ()
 

Member Function Documentation

static StateSharedPtr kanzi::StateManager::State::create ( )
static
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 ( const StateObjectSharedPtr 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: