Annotation of parser3/src/types/pa_vhash.C, revision 1.6

1.2       paf         1: /** @file
1.5       paf         2:        Parser: @b hash class.
1.2       paf         3: 
1.5       paf         4:        Copyright(c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com)
1.2       paf         5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
                      6: */
                      7: 
1.6     ! paf         8: static const char * const IDENT="$Date: 2004/07/26 14:43:09 $";
1.2       paf         9: 
                     10: #include "pa_vhash.h"
1.5       paf        11: #include "pa_vfile.h"
1.2       paf        12: 
1.5       paf        13: VFile* VHash::as_vfile(String::Language /*lang*/,
                     14:        const Request_charsets * /*charsets*/) 
                     15: {
                     16:        return new VFile(fhash);
                     17: }
1.3       paf        18: 
1.6     ! paf        19: void VHash::extract_default()
        !            20: {
        !            21:        if( (_default=fhash.get(HASH_DEFAULT_ELEMENT_NAME) ) )
        !            22:                fhash.remove(HASH_DEFAULT_ELEMENT_NAME);
        !            23: }

E-mail: