Ceetron Data Provider Framework
CDPInitOptions.h
1 //##################################################################################################
2 //
3 // Ceetron Data Provider Framework
4 //
5 // --------------------------------------------------------------------------------------------
6 // Copyright (C) 2020, Ceetron AS
7 //##################################################################################################
8 
9 #pragma once
10 
11 #include "CDPBaseTypes.h"
12 #include "CDPString.h"
13 
14 //==================================================================================================
15 //
16 //
17 //
18 //==================================================================================================
20 {
21 public:
22  virtual bool hasKey(const CDPString& optionKey) const = 0;
23 
24  virtual cdp_double_t doubleValue(const CDPString& optionKey) const = 0;
25  virtual bool boolValue(const CDPString& optionKey) const = 0;
26  virtual const CDPString& stringValue(const CDPString& optionKey) const = 0;
27 };
Definition: CDPInitOptions.h:19
Definition: CDPString.h:22
virtual bool hasKey(const CDPString &optionKey) const =0
Check if the option with the given key exists.
virtual const CDPString & stringValue(const CDPString &optionKey) const =0
Get the string value of the option with the given key.
virtual bool boolValue(const CDPString &optionKey) const =0
Get the bool value of the option with the given key.
virtual cdp_double_t doubleValue(const CDPString &optionKey) const =0
Get the double value of the option with the given key.