Ignore:
Timestamp:
2001-01-26T07:26:45+13:00 (23 years ago)
Author:
cs025
Message:

Included CORBA branch for first time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/text_t.h

    r1596 r1860  
    2121 * along with this program; if not, write to the Free Software
    2222 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     23 *
     24 * $Id$
    2325 *
    2426 *********************************************************************/
     
    9799  unsigned short getencoding () {return encoding;};
    98100
     101  usvector& text_as_usvector() { return text ; };
     102  const usvector& text_as_usvector() const { return text ; };
     103
    99104  // basic container support
    100105  iterator begin () {return text.begin();}
     
    162167  char *getcarr(size_type &len) const;
    163168  char *getcstr() const;
    164 };
    165 
     169
     170};
     171
     172// new stream converter ...
     173ostream& operator<< (ostream &o, const text_t text);
    166174
    167175inline text_t operator+(const text_t &t1, const text_t &t2)
     
    216224text_t::iterator findchar (text_t::iterator first, text_t::iterator last,
    217225               unsigned short c);
     226
     227text_t::iterator findword (text_t::iterator first, text_t::iterator last,
     228               const text_t &word);
    218229
    219230// get a string up to the next delimiter (which is skipped)
Note: See TracChangeset for help on using the changeset viewer.