(file) Return to LanguageParser.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/LanguageParser.cpp between version 1.10 and 1.13

version 1.10, 2004/10/17 20:39:17 version 1.13, 2005/05/30 13:25:00
Line 1 
Line 1 
 //%2004////////////////////////////////////////////////////////////////////////  //%2005////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 6 
Line 6 
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 27 
Line 29 
 // //
 // Author: Humberto Rivero (hurivero@us.ibm.com) // Author: Humberto Rivero (hurivero@us.ibm.com)
 // //
 // Modified By:  // Modified By: Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3697, 3698
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 42 
Line 44 
  
 const LanguageParser LanguageParser::EMPTY = LanguageParser(); const LanguageParser LanguageParser::EMPTY = LanguageParser();
  
 void LanguageParser::parseHdr(Array<String> &values, String & hdr){  void LanguageParser::parseHdr(Array<String> &values, String hdr){
         // look for ',' which designates distict (Accept/Content)-Language fields         // look for ',' which designates distict (Accept/Content)-Language fields
         // the form: [languagetag, languagetag, languagetag] so whitespace removal         // the form: [languagetag, languagetag, languagetag] so whitespace removal
         // may be necessary.         // may be necessary.
Line 63 
Line 65 
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
 } }
  
 Real32 LanguageParser::parseAcceptLanguageValue(String &language_tag, String & hdr){  Real32 LanguageParser::parseAcceptLanguageValue(String &language_tag, String hdr){
         // look for ';' in hdr, that means we have a quality value to capture         // look for ';' in hdr, that means we have a quality value to capture
     // if not, we only have a language     // if not, we only have a language
  


Legend:
Removed from v.1.10  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2