Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
InformationIdList.h
Go to the documentation of this file.
1#pragma once
3#include <gii/gen/Variable.h>
4#include <gii/global.h>
5
6namespace sf
7{
8
14{
15 public:
16 using InformationIds::InformationIds;
17
22
27
32
36 void remove(index_type index, index_type sz) override;
37
41 index_type size() const override;
42
46 void resize(index_type) override;
47
53
54 protected:
58 value_type store(index_type index, const value_type* value) override;
59
60 private:
62 bool _owned;
63};
64
65}// namespace sf
Manages a vector InformationTypes::IdVector. This instance can be used to assign to a sf::VariableIdL...
Definition InformationIdList.h:14
index_type size() const override
Overridden from base class InformationIds.
~InformationIdList() override
Destructor cleaning owned vector,.
InformationIdList(InformationTypes::IdVector &ids)
Initializing constructor using a not owned vector.
InformationIdList()
< Inherit constructors and destructor from the base class.
InformationTypes::IdVector & getIds()
Gets the reference to the vector store of this instance.
void resize(index_type) override
Overridden from base class InformationIds.
void remove(index_type index, index_type sz) override
Overridden from base class InformationIds.
value_type store(index_type index, const value_type *value) override
Overridden from base class to handel read and writes of values.
Abstract class to store information id's in a configuration string. Used to be implemented twice,...
Definition InformationIds.h:13
InformationTypes::id_type value_type
Type of the stored values.
Definition TTypedList.h:24
ssize_t index_type
Type of the indices used by this class.
Definition TTypedList.h:23
#define _GII_CLASS
Definition gii/global.h:38
Definition Application.h:10