Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::model::diamar::Groups Struct Reference

#include <Groups.hpp>

Inheritance diagram for iv::model::diamar::Groups:
[legend]
Collaboration diagram for iv::model::diamar::Groups:
[legend]

Classes

struct  Sections
 

Public Member Functions

 Groups ()
 
 Groups (const Groups &other)
 
 Groups (Groups &&other) noexcept
 
 ~Groups ()
 
Groupsoperator= (const Groups &other)
 
Groupsoperator= (Groups &&other) noexcept
 
bool load (const iv::file::xml::node &rootNode)
 
bool save (iv::file::xml::node &rootNode) const
 
std::shared_ptr< iv::model::diamar::Groupsclone () const
 
std::vector< std::string_view > getGroupsNames (iv::eLanguage language)
 
std::vector< iv::types::groupIdgetGroupsIds () const
 
iv::model::diamar::GroupgetGroupAt (uint64_t index)
 
std::optional< std::reference_wrapper< iv::model::diamar::Group > > getGroup (const iv::types::groupId &groupId)
 
iv::model::diamar::Group getGroupByLomId (iv::types::groupIdForLom lomId)
 
iv::types::groupIdForLom getFirstFreeLomId ()
 
std::vector< GroupgetGroupsOrderedByLomId () const
 

Constructor & Destructor Documentation

◆ Groups() [1/3]

iv::model::diamar::Groups::Groups ( )
default

◆ Groups() [2/3]

iv::model::diamar::Groups::Groups ( const Groups & other)
default

◆ Groups() [3/3]

iv::model::diamar::Groups::Groups ( Groups && other)
defaultnoexcept

◆ ~Groups()

iv::model::diamar::Groups::~Groups ( )
default

Member Function Documentation

◆ clone()

std::shared_ptr< iv::model::diamar::Groups > iv::model::diamar::Groups::clone ( ) const
nodiscard

◆ getFirstFreeLomId()

iv::types::groupIdForLom iv::model::diamar::Groups::getFirstFreeLomId ( )
nodiscard

◆ getGroup()

std::optional< std::reference_wrapper< iv::model::diamar::Group > > iv::model::diamar::Groups::getGroup ( const iv::types::groupId & groupId)
nodiscard

◆ getGroupAt()

iv::model::diamar::Group & iv::model::diamar::Groups::getGroupAt ( uint64_t index)
nodiscard

◆ getGroupByLomId()

iv::model::diamar::Group iv::model::diamar::Groups::getGroupByLomId ( iv::types::groupIdForLom lomId)
nodiscard

◆ getGroupsIds()

std::vector< iv::types::groupId > iv::model::diamar::Groups::getGroupsIds ( ) const
nodiscard

◆ getGroupsNames()

std::vector< std::string_view > iv::model::diamar::Groups::getGroupsNames ( iv::eLanguage language)
nodiscard

◆ getGroupsOrderedByLomId()

std::vector< Group > iv::model::diamar::Groups::getGroupsOrderedByLomId ( ) const
nodiscard

◆ load()

bool iv::model::diamar::Groups::load ( const iv::file::xml::node & rootNode)

◆ operator=() [1/2]

Groups & iv::model::diamar::Groups::operator= ( const Groups & other)

◆ operator=() [2/2]

Groups & iv::model::diamar::Groups::operator= ( Groups && other)
noexcept

◆ save()

bool iv::model::diamar::Groups::save ( iv::file::xml::node & rootNode) const

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