Scanframe Modular Application
0.1.0
Loading...
Searching...
No Matches
InformationIdList.h
Go to the documentation of this file.
1
#pragma once
2
#include <
gii/gen/InformationIds.h
>
3
#include <
gii/gen/Variable.h
>
4
#include <
gii/global.h
>
5
6
namespace
sf
7
{
8
13
class
_GII_CLASS
InformationIdList
final :
public
InformationIds
14
{
15
public
:
16
using
InformationIds::InformationIds
;
17
21
InformationIdList
();
22
26
explicit
InformationIdList
(
InformationTypes::IdVector
& ids);
27
31
~InformationIdList
()
override
;
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
52
InformationTypes::IdVector
&
getIds
();
53
54
protected
:
58
value_type
store
(
index_type
index,
const
value_type
* value)
override
;
59
60
private
:
61
InformationTypes::IdVector
* _ids;
62
bool
_owned;
63
};
64
65
}
// namespace sf
InformationIds.h
Variable.h
sf::InformationIdList::size
index_type size() const override
Overridden from base class InformationIds.
sf::InformationIdList::InformationIds
InformationIds()
Default constructor setting the use of hexadecimals by default.
Definition
InformationIds.h:50
sf::InformationIdList::~InformationIdList
~InformationIdList() override
Destructor cleaning owned vector,.
sf::InformationIdList::InformationIdList
InformationIdList(InformationTypes::IdVector &ids)
Initializing constructor using a not owned vector.
sf::InformationIdList::InformationIdList
InformationIdList()
< Inherit constructors and destructor from the base class.
sf::InformationIdList::getIds
InformationTypes::IdVector & getIds()
Gets the reference to the vector store of this instance.
sf::InformationIdList::resize
void resize(index_type) override
Overridden from base class InformationIds.
sf::InformationIdList::remove
void remove(index_type index, index_type sz) override
Overridden from base class InformationIds.
sf::InformationIdList::store
value_type store(index_type index, const value_type *value) override
Overridden from base class to handel read and writes of values.
sf::InformationIds::InformationIds
InformationIds()
Default constructor setting the use of hexadecimals by default.
Definition
InformationIds.h:50
sf::InformationTypes::IdVector
TVector< id_type > IdVector
Vector for lists of information ID's.
Definition
InformationBase.h:54
sf::TTypedList< InformationTypes::id_type >::value_type
InformationTypes::id_type value_type
Definition
TTypedList.h:24
sf::TTypedList< InformationTypes::id_type >::index_type
ssize_t index_type
Definition
TTypedList.h:23
global.h
_GII_CLASS
#define _GII_CLASS
Definition
gii/global.h:38
sf
Definition
Application.h:10
src
com
gii
gen
InformationIdList.h
Generated by
1.16.1