AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
painlessmesh::gateway::ValidationResult Struct Reference

Validation result structure for SharedGatewayConfig. More...

#include <gateway.hpp>

Public Member Functions

 ValidationResult ()=default
 
 ValidationResult (bool v, const TSTRING &msg)
 
 operator bool () const
 

Public Attributes

bool valid = true
 
TSTRING errorMessage = ""
 

Detailed Description

Validation result structure for SharedGatewayConfig.

Provides detailed validation feedback with error messages.

Constructor & Destructor Documentation

◆ ValidationResult() [1/2]

painlessmesh::gateway::ValidationResult::ValidationResult ( )
default

◆ ValidationResult() [2/2]

painlessmesh::gateway::ValidationResult::ValidationResult ( bool  v,
const TSTRING &  msg 
)
inline

Member Function Documentation

◆ operator bool()

painlessmesh::gateway::ValidationResult::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ errorMessage

TSTRING painlessmesh::gateway::ValidationResult::errorMessage = ""

◆ valid

bool painlessmesh::gateway::ValidationResult::valid = true

The documentation for this struct was generated from the following file: