Free Electron
StringFilterI.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 __shape_StringFilterI_h__
8 #define __shape_StringFilterI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 //* NOTE not really shape-related
16 
17 /**************************************************************************//**
18  @brief String check or modification
19 
20  For a simple boolean check,
21  the result should be the same string or an empty string.
22 
23  For modification, there is no particular general behavior.
24 
25  @ingroup shape
26 *//***************************************************************************/
27 class FE_DL_EXPORT StringFilterI:
28  public Component,
29  public CastableAs<StringFilterI>
30 {
31  public:
32 virtual BWORD load(String a_filename) =0;
33 
34 virtual void configure(String a_config) =0;
35 
36 virtual String configuration(void) =0;
37 
38 virtual String filter(String a_string) =0;
39 };
40 
41 } /* namespace ext */
42 } /* namespace fe */
43 
44 #endif /* __shape_StringFilterI_h__ */
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
String check or modification.
Definition: StringFilterI.h:27
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192