libkazv
Kazv::RoomListModel Struct Reference

#include <room-model.hpp>

Public Types

using Action = std::variant< UpdateRoomAction >
 

Public Member Functions

auto at (std::string id) const
 
auto operator[] (std::string id) const
 
bool has (std::string id) const
 

Static Public Member Functions

static RoomListModel update (RoomListModel l, Action a)
 

Public Attributes

immer::map< std::string, RoomModelrooms
 

Member Typedef Documentation

◆ Action

Member Function Documentation

◆ at()

auto Kazv::RoomListModel::at ( std::string  id) const
inline

◆ has()

bool Kazv::RoomListModel::has ( std::string  id) const
inline

◆ operator[]()

auto Kazv::RoomListModel::operator[] ( std::string  id) const
inline

◆ update()

RoomListModel Kazv::RoomListModel::update ( RoomListModel  l,
Action  a 
)
static

Member Data Documentation

◆ rooms

immer::map<std::string, RoomModel> Kazv::RoomListModel::rooms

The documentation for this struct was generated from the following files: