OpenCPN Partial API docs
Loading...
Searching...
No Matches
RoutePointNameValidator Class Reference

Route point name validator to validate the name. More...

#include <route_validator.h>

Inheritance diagram for RoutePointNameValidator:
TextValidator

Public Member Functions

 RoutePointNameValidator (RoutePoint *wp_ptr)
 
wxValidator * Clone () const override
 Member to implement the instance clone.
 
wxString IsValid (const wxString &val) const override
 Validate the route point name.
 
- Public Member Functions inherited from TextValidator
bool Validate (wxWindow *parent) override
 

Detailed Description

Route point name validator to validate the name.

Definition at line 34 of file route_validator.h.

Constructor & Destructor Documentation

◆ RoutePointNameValidator()

RoutePointNameValidator::RoutePointNameValidator ( RoutePoint wp_ptr)

Route point name validator validates the field value.

Definition at line 8 of file route_validator.cpp.

Member Function Documentation

◆ Clone()

wxValidator * RoutePointNameValidator::Clone ( ) const
overridevirtual

Member to implement the instance clone.

Implements TextValidator.

Definition at line 13 of file route_validator.cpp.

◆ IsValid()

wxString RoutePointNameValidator::IsValid ( const wxString &  val) const
overridevirtual

Validate the route point name.

Implements TextValidator.

Definition at line 20 of file route_validator.cpp.


The documentation for this class was generated from the following files: