diff options
Diffstat (limited to 'lib/Domain.cc')
-rw-r--r-- | lib/Domain.cc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/Domain.cc b/lib/Domain.cc index eb087f9..6f06476 100644 --- a/lib/Domain.cc +++ b/lib/Domain.cc @@ -17,13 +17,26 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Domain.cc,v 1.3 2007-05-30 11:57:09 pixel Exp $ */ +/* $Id: Domain.cc,v 1.4 2007-06-19 21:31:51 pixel Exp $ */ #include "Domain.h" Domain * Domain::head = 0; +Domain * Domain::First() { + return head; +} + +Domain * Domain::Next() { + return next; +} + +String Domain::GetPattern() { + pattern.GetPattern(); +} + Domain::Domain(const Regex & _pattern) : pattern(_pattern) { + printm(M_INFO, "Creating Domain @ %p, with pattern = " + pattern.GetPattern() + "\n", this); prev = 0; next = head; head = this; |