Free Electron
ConfigI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __data_ConfigI_h__
8 #define __data_ConfigI_h__
9 
10 
11 namespace fe
12 {
13 namespace ext
14 {
15 
16 /** ConfigI Interface
17  See Config (implementation) for the interesting details
18  */
19 class FE_DL_EXPORT ConfigI:
20  virtual public Component,
21  public CastableAs<ConfigI>
22 {
23  public:
24 virtual void configParent(sp<ConfigI> a_parent) = 0;
25 virtual bool configLookup(const String &a_key, Instance &a_instance) = 0;
26 virtual void configSet(const String &a_key, Instance &a_instance) = 0;
27 virtual void configSet(const String &a_key, Record &a_record,
28  const String &a_attr) = 0;
29 };
30 
31 } /* namespace ext */
32 } /* namespace fe */
33 
34 #endif /* __data_ConfigI_h__ */
35 
ConfigI Interface See Config (implementation) for the interesting details.
Definition: ConfigI.h:19
Smart pointer used with types represented by BaseType.
Definition: Instance.h:28
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Base for all interfacable components.
Definition: Component.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192