00001 // Filename: pal_string_utils.h 00002 // Created by: drose (30Nov00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef PAL_STRING_UTILS_H 00016 #define PAL_STRING_UTILS_H 00017 00018 #include "pandatoolbase.h" 00019 #include "string_utils.h" 00020 00021 class PNMFileType; 00022 00023 void extract_param_value(const string &str, string ¶m, string &value); 00024 00025 bool parse_image_type_request(const string &word, PNMFileType *&color_type, 00026 PNMFileType *&alpha_type); 00027 00028 #endif 00029