|
Yate
|
Base class for custom matching. More...
#include <yateclass.h>
Public Member Functions | |
| MatchingItemCustom (const char *name, const char *type, bool negated=false) | |
| const String & | type () const |
| virtual const MatchingItemCustom * | itemCustom () const |
| Public Member Functions inherited from MatchingItemBase | |
| MatchingItemBase (const char *name, bool negated=false) | |
| const String & | name () const |
| bool | negated () const |
| bool | matchString (const String &str, MatchingParams *params=0) const |
| bool | matchListParam (const NamedList &list, MatchingParams *params=0) const |
| virtual bool | runMatchString (const String &str, MatchingParams *params=0) const |
| virtual bool | runMatchListParam (const NamedList &list, MatchingParams *params=0) const |
| virtual MatchingItemBase * | copy () const |
| virtual const MatchingItemString * | itemString () const |
| virtual const MatchingItemRegexp * | itemRegexp () const |
| virtual const MatchingItemRandom * | itemRandom () const |
| virtual const MatchingItemList * | itemList () const |
| virtual String & | dump (String &buf, const MatchingItemDump *dump=0, const String &indent=String::empty(), const String &origIndent=String::empty(), unsigned int depth=0) const |
| virtual String & | dumpValue (String &buf, const MatchingItemDump *dump=0, const String &indent=String::empty(), const String &origIndent=String::empty(), unsigned int depth=0) const |
| virtual GenObject * | dumpXml (const MatchingItemDump *dump=0, unsigned int depth=0) const |
| virtual const String & | toString () const |
| Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual bool | alive () const |
| virtual void | destruct () |
| virtual const String & | traceId () const |
| virtual void * | getObject (const String &name) const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
| Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Base class for custom matching.
Custom match
|
inline |
Constructor
| name | Item name |
| type | Type name |
| negated | True if matching is negated (return the opposite of match in public methods), false otherwise |
References MatchingItemBase::MatchingItemBase(), MatchingItemBase::name(), MatchingItemBase::negated(), and type().
Referenced by itemCustom().
|
inlinevirtual |
Check if this item is a MatchingItemCustom one
Reimplemented from MatchingItemBase.
References MatchingItemCustom().
|
inline |