Annotation of parser3/src/types/pa_vstring.C, revision 1.1

1.1     ! paf         1: /** @file
        !             2:        Parser: string class.
        !             3: 
        !             4:        Copyright(c) 2001 ArtLebedev Group(http://www.artlebedev.com)
        !             5: 
        !             6:        Author: Alexander Petrosyan <paf@design.ru>(http://design.ru/paf)
        !             7: 
        !             8:        $Id: pa_vstring.C,v 1.4 2001/03/28 14:41:33 paf Exp $
        !             9: */
        !            10: 
        !            11: #include "pa_vstring.h"
        !            12: #include "pa_vfile.h"
        !            13: 
        !            14: const VFile *VString::as_vfile() const {
        !            15:        VFile& result=*NEW VFile(pool());
        !            16:        const char *cstr=fstring.cstr();
        !            17:        result.set(cstr, strlen(cstr));
        !            18:        return &result;
        !            19: }

E-mail: