IParamsSetValidator.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // ACF includes
6 
7 
8 namespace iprm
9 {
10 
11 
12 class IParamsSet;
13 
14 
19 {
20 public:
21  typedef QSet<QByteArray> Ids;
22 
26  virtual Ids GetSupportedTypeIds() const = 0;
27 
34  virtual bool IsParamsSetConsistent(
35  const QByteArray& validationContextId,
36  const IParamsSet& paramsSet,
37  ilog::IMessageConsumer* validationMessagesConsumerPtr = NULL) const = 0;
38 };
39 
40 
41 } // namespace iprm
42 
43 
virtual Ids GetSupportedTypeIds() const =0
Get list of parameter type IDs which can be checked by the validator.
virtual bool IsParamsSetConsistent(const QByteArray &validationContextId, const IParamsSet &paramsSet, ilog::IMessageConsumer *validationMessagesConsumerPtr=NULL) const =0
Return true if the parameter set is consistent or false otherwise.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
Interface for consistency checking of a parameter set.
#define NULL
Definition: istd.h:64
Common interface for a message container consuming information objects (messages).
Set of general parameters.
Definition: IParamsSet.h:23

© 2007-2017 Witold Gantzke and Kirill Lepskiy