Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
IniProfileObject.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
9{
10 public:
11
12 explicit IniProfileObject(const Parameters&);
13
14 [[nodiscard]] const IdInfo* getInfo(const std::string& name) const override;
15
16 bool getSetValue(const IdInfo* info, Value* value, Value::vector_type* params, bool flag_set) override;
17
18 protected:
19 void destroyObject(bool& should_delete) override
20 {
21 should_delete = true;
22 }
23
25
27};
28
29}
Definition IniProfileObject.h:9
const IdInfo * getInfo(const std::string &name) const override
Must be overloaded for member namespace.
IniProfileObject(const Parameters &)
static IdInfo _objectInfo[]
Definition IniProfileObject.h:26
IniProfile _iniProfile
Definition IniProfileObject.h:24
bool getSetValue(const IdInfo *info, Value *value, Value::vector_type *params, bool flag_set) override
Gets or sets the passed data member. Must be overloaded in derived class.
void destroyObject(bool &should_delete) override
Asks if the object should be deleted after having made this call.
Definition IniProfileObject.h:19
Class for reading and writing ini-profiles.
Definition IniProfile.h:16
Info structure for objects used in scripts.
Definition ScriptObject.h:14
Counted vector having additional methods and operators for ease of usage.
Definition TVector.h:25
Value container class able to performing arithmetic functions.
Definition Value.h:19
Definition Application.h:10
Used to create static lookup lists.
Definition ScriptObject.h:60
Type to pass to registered classes.
Definition ScriptObject.h:20