Annotation of parser3/src/types/pa_vhash.C, revision 1.12
1.2 paf 1: /** @file
1.5 paf 2: Parser: @b hash class.
1.2 paf 3:
1.11 moko 4: Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com)
1.2 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
6: */
7:
8: #include "pa_vhash.h"
1.5 paf 9: #include "pa_vfile.h"
1.2 paf 10:
1.12 ! moko 11: volatile const char * IDENT_PA_VHASH_C="$Id: pa_vhash.C,v 1.11 2015/10/26 01:22:01 moko Exp $" IDENT_PA_VHASH_H;
1.10 moko 12:
1.12 ! moko 13: VFile* VHash::as_vfile(String::Language /*lang*/, const Request_charsets * /*charsets*/){
1.5 paf 14: return new VFile(fhash);
15: }
1.3 paf 16:
1.12 ! moko 17: void VHash::extract_default(){
! 18: if( (_default=fhash.get(Symbols::_DEFAULT_SYMBOL) ) )
! 19: fhash.remove(Symbols::_DEFAULT_SYMBOL);
1.7 paf 20: }
E-mail: