FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
SettingsInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINESETTINGSINTERFACE_H
20#define FLOWENGINESETTINGSINTERFACE_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26namespace FlowEngine
27{
32 {
33 public:
34
36 FLE_DLL virtual ~SettingsInterface() = default;
37
38 public:
39
49 FLE_DLL virtual Result setValue( ConstStringBuffer category,
51 ConstStringBuffer value ) = 0;
52
53 public:
54
65 FLE_DLL virtual Result getValue( ConstStringBuffer category,
67 StringBuffer outValue ) const = 0;
68
74 FLE_DLL virtual Size getValueLength( ConstStringBuffer category,
75 ConstStringBuffer name ) const = 0;
76
77 public:
78
81 FLE_DLL virtual Index getKeyCount( ConstStringBuffer category ) const = 0;
82
86 FLE_DLL virtual Size getKeyLength( ConstStringBuffer category, Index key ) const = 0;
87
92 FLE_DLL virtual Result getKey( ConstStringBuffer category, Index key, StringBuffer outKey ) const = 0;
93
94 public:
95
98 FLE_DLL virtual Result save( ConstStringBuffer filePath ) const = 0;
99
108 FLE_DLL virtual Result load( ConstStringBuffer filePath ) = 0;
109 };
110
114
118}
119
120#endif
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Stores the processing settings.
Definition: SettingsInterface.h:32
virtual FLE_DLL Result save(ConstStringBuffer filePath) const =0
virtual FLE_DLL Result getKey(ConstStringBuffer category, Index key, StringBuffer outKey) const =0
virtual FLE_DLL Size getKeyLength(ConstStringBuffer category, Index key) const =0
virtual FLE_DLL Result setValue(ConstStringBuffer category, ConstStringBuffer name, ConstStringBuffer value)=0
virtual FLE_DLL Index getKeyCount(ConstStringBuffer category) const =0
virtual FLE_DLL ~SettingsInterface()=default
Default virtual destructor.
virtual FLE_DLL Result load(ConstStringBuffer filePath)=0
virtual FLE_DLL Size getValueLength(ConstStringBuffer category, ConstStringBuffer name) const =0
virtual FLE_DLL Result getValue(ConstStringBuffer category, ConstStringBuffer name, StringBuffer outValue) const =0
Definition: BoundingBoxInterface.cpp:26
SettingsInterface * CreateSettings()
Definition: SettingsInterface.cpp:27
std::ptrdiff_t Index
Index type.
Definition: CommonDef.h:100
void DestroySettings(SettingsInterface *settings)
Definition: SettingsInterface.cpp:32
std::size_t Size
Size type.
Definition: CommonDef.h:103
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a Buffer of characters.
Definition: CommonDef.h:255
Specialization for a const buffer characters.
Definition: CommonDef.h:296