Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIValidator.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#if !defined(GUI_VALIDATOR_H)
11#define GUI_VALIDATOR_H
12
13#include "eC_String.h"
14
16
25{
26public:
29
31 virtual ~CGUIValidator() {}
32
37 virtual eC_Bool IsValid(const eC_String& rValue) const = 0;
38
45 virtual void MakeValid(eC_String& rValue) const = 0;
46};
47
48#endif // GUI_VALIDATOR_H
Interface for validators that provide checking and changing of user input.
Definition: GUIValidator.h:25
CGUIValidator()
Default constructor.
Definition: GUIValidator.h:28
virtual ~CGUIValidator()
Destructor.
Definition: GUIValidator.h:31
virtual eC_Bool IsValid(const eC_String &rValue) const =0
virtual void MakeValid(eC_String &rValue) const =0