home *** CD-ROM | disk | FTP | other *** search
- #ifndef __RWTOKEN_H__
- #define __RWTOKEN_H__
- pragma push_align_members(64);
-
- /*
- * RWTokenizer --- converts strings into sequences of tokens
- *
- * $Header: E:/vcs/rw/token.h_v 1.4 01 Mar 1992 15:45:24 KEFFER $
- *
- ****************************************************************************
- *
- * Rogue Wave Software, Inc.
- * P.O. Box 2328
- * Corvallis, OR 97339
- * Voice: (503) 754-3010 FAX: (503) 757-6650
- *
- * Copyright (C) 1989, 1990, 1991. This software is subject to copyright
- * protection under the laws of the United States and other countries.
- *
- ***************************************************************************
- *
- * $Log: E:/vcs/rw/token.h_v $
- *
- * Rev 1.4 01 Mar 1992 15:45:24 KEFFER
- * Now uses RWCString instead of RWString.
- *
- * Rev 1.2 28 Oct 1991 09:08:26 keffer
- * Changed inclusions to <rw/xxx.h>
- *
- * Rev 1.1 22 Aug 1991 10:43:26 keffer
- * operator()() no longer uses default arguments (as per the ARM).
- *
- * Rev 1.0 28 Jul 1991 08:17:36 keffer
- * Tools.h++ V4.0.5 PVCS baseline version
- *
- */
-
- #include "rw/cstring.h"
-
- class RWExport RWTokenizer {
- const RWCString* theString;
- const char* place;
- public:
- RWTokenizer(const RWCString& s); // Construct to lex a string
-
- // Advance to next token, delimited by s:
- RWCSubString operator()(const char* s);
- RWCSubString operator()(); // { return operator()(" \t\n"); }
- };
-
- pragma pop_align_members();
- #endif /* __RWTOKEN_H__ */
-