#include <dlgAddMatchFiles.hpp>
Public Member Functions | |
void | addPatterns (const wxString &patterns) |
Adds the given patterns to this pattern. | |
int | compareDepth (const MatchPattern &cmp) const |
Compare the depths of this pattern and the given one. | |
int | getDepth () const |
Gets the depth. | |
wxString | getDirectory () const |
Gets the directory. | |
wxString | getPattern () const |
Gets the pattern. | |
wxArrayString | getPatterns () const |
Gets the patterns. | |
bool | isIncludingAllPatterns (const wxString &patterns) const |
Indicates if the pattern includes all the given patterns. | |
MatchPattern (const MatchPattern &source) | |
Copy constructor. | |
MatchPattern (const wxString &dir, const wxString &pat, const int dep) | |
Constructor. | |
MatchPattern () | |
Default constructor. | |
MatchPattern & | operator= (const MatchPattern &source) |
Assignment operator. | |
bool | operator== (const MatchPattern &cmp) const |
Compare two matching patterns. | |
void | removePatterns (const wxString &patterns) |
Remove the given patterns from this pattern. | |
void | setDepth (const int newDepth) |
Sets the depth. | |
void | setDirectory (const wxString &newDir) |
Sets the directory. | |
void | setPattern (const wxString &newPattern) |
Sets the pattern. | |
Protected Member Functions | |
void | clone (const MatchPattern &source) |
Clones the source instance in this instance. | |
Protected Attributes | |
int | depth |
search depth. | |
wxString | directory |
directory of the match pattern. | |
wxString | pattern |
match pattern. |
It contains:
Definition at line 219 of file dlgAddMatchFiles.hpp.
|
Default constructor.
Definition at line 231 of file dlgAddMatchFiles.hpp. References depth. |
|
Constructor.
Definition at line 77 of file dlgAddMatchFiles.cpp. References setDepth(), setDirectory(), and setPattern(). |
|
Copy constructor.
Definition at line 241 of file dlgAddMatchFiles.hpp. |
|
Adds the given patterns to this pattern.
Definition at line 141 of file dlgAddMatchFiles.cpp. References addPatterns(), getPattern(), getPatterns(), and setPattern(). Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), and addPatterns(). |
|
Clones the source instance in this instance.
Definition at line 92 of file dlgAddMatchFiles.cpp. References clone(), depth, directory, and pattern. Referenced by clone(), and operator=(). |
|
Compare the depths of this pattern and the given one.
A depth of
Definition at line 277 of file dlgAddMatchFiles.cpp. References compareDepth(), and getDepth(). Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), compareDepth(), and operator==(). |
|
Gets the depth.
Definition at line 295 of file dlgAddMatchFiles.hpp. References depth. Referenced by dlgAddMatchFiles::addPatternToListView(), compareDepth(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
Gets the directory.
Definition at line 255 of file dlgAddMatchFiles.hpp. References directory. Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), dlgAddMatchFiles::addPatternToListView(), operator==(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
Gets the pattern.
Definition at line 275 of file dlgAddMatchFiles.hpp. References pattern. Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), addPatterns(), dlgAddMatchFiles::addPatternToListView(), getPatterns(), operator==(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
Gets the patterns.
Definition at line 123 of file dlgAddMatchFiles.cpp. References getPattern(). Referenced by addPatterns(), isIncludingAllPatterns(), and removePatterns(). |
|
Indicates if the pattern includes all the given patterns.
Definition at line 234 of file dlgAddMatchFiles.cpp. References getPatterns(), and isIncludingAllPatterns(). Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), isIncludingAllPatterns(), and operator==(). |
|
Assignment operator.
Definition at line 110 of file dlgAddMatchFiles.cpp. References clone(), and operator=(). Referenced by operator=(). |
|
Compare two matching patterns. The matching patterns are equals if:
Definition at line 304 of file dlgAddMatchFiles.cpp. References compareDepth(), getDirectory(), getPattern(), isIncludingAllPatterns(), and operator==(). Referenced by operator==(). |
|
Remove the given patterns from this pattern.
Definition at line 184 of file dlgAddMatchFiles.cpp. References getPatterns(), removePatterns(), and setPattern(). Referenced by dlgAddMatchFiles::ArrayMatchPattern::add(), and removePatterns(). |
|
Sets the depth.
Definition at line 305 of file dlgAddMatchFiles.hpp. References depth, and setDepth(). Referenced by dlgAddMatchFiles::addPatternToListView(), MatchPattern(), setDepth(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
Sets the directory.
Definition at line 265 of file dlgAddMatchFiles.hpp. References directory, and setDirectory(). Referenced by dlgAddMatchFiles::addPatternToListView(), MatchPattern(), setDirectory(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
Sets the pattern.
Definition at line 285 of file dlgAddMatchFiles.hpp. References pattern, and setPattern(). Referenced by addPatterns(), dlgAddMatchFiles::addPatternToListView(), MatchPattern(), removePatterns(), setPattern(), and dlgAddMatchFiles::PatternsListValidator::TransferToWindow(). |
|
search depth.
Definition at line 224 of file dlgAddMatchFiles.hpp. Referenced by clone(), getDepth(), MatchPattern(), and setDepth(). |
|
directory of the match pattern.
Definition at line 222 of file dlgAddMatchFiles.hpp. Referenced by clone(), getDirectory(), and setDirectory(). |
|
match pattern.
Definition at line 223 of file dlgAddMatchFiles.hpp. Referenced by clone(), getPattern(), and setPattern(). |