CSearchParamsComp.h
Go to the documentation of this file.
1 #ifndef iipr_CSearchParamsComp_included
2 #define iipr_CSearchParamsComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 // ACF-Solutions includes
10 #include <iipr/CSearchParams.h>
11 
12 
13 namespace iipr
14 {
15 
16 
18  public icomp::CComponentBase,
19  public CSearchParams
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CSearchParamsComp);
25  I_REGISTER_INTERFACE(iipr::ISearchParams);
26  I_REGISTER_INTERFACE(iser::ISerializable);
27  I_ASSIGN(m_searchConstraintsCompPtr, "SearchConstaints", "Search parameters constraints", false, "SearchConstaints");
28  I_END_COMPONENT;
29 
30  // reimplemented (iipr::ISearchParams)
31  virtual const ISearchConstraints* GetSearchConstraints() const;
32 
33 private:
34  I_REF(iipr::ISearchConstraints, m_searchConstraintsCompPtr);
35 };
36 
37 
38 } // namespace iipr
39 
40 
41 #endif // !iipr_CSearchParamsComp_included
virtual const ISearchConstraints * GetSearchConstraints() const
Get constraints for the search parameters.
Common interface for a set of parameters for a model search.
Definition: ISearchParams.h:21
icomp::CComponentBase BaseClass
Definition of standard search parameters.
Definition: CSearchParams.h:19
Interface for search algorithm limitations.

© 2007-2017 Witold Gantzke and Kirill Lepskiy