Wt  3.3.9
Public Member Functions | List of all members
Wt::WValidator::Result Class Reference

A class that holds a validation result. More...

Public Member Functions

 Result ()
 Default constructor. More...
 
 Result (State state, const WString &message)
 Constructor. More...
 
 Result (State state)
 Constructor. More...
 
State state () const
 Returns the validation state.
 
const WStringmessage () const
 Returns the validation message.
 

Detailed Description

A class that holds a validation result.

This structure is returned as the result of validation.

Constructor & Destructor Documentation

Wt::WValidator::Result::Result ( )

Default constructor.

Creates an invalid result.

Wt::WValidator::Result::Result ( State  state,
const WString message 
)

Constructor.

Creates a result with given state and message.

Wt::WValidator::Result::Result ( State  state)
explicit

Constructor.

Creates a result with given state and initalizes the message field to an empty WString.


Generated on Tue Nov 21 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11