aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__string__utils_8h_source.html
blob: 76d2d01a4b802a3553002726617178ca87e5f025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_string_utils.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>oscl_string_utils.h</h1><a href="oscl__string__utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="comment">//               O S C L _ S T R I N G _ U T I L S</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
<a name="l00007"></a>00007 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef OSCL_STRING_UTILS_H_INCLUDED</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_STRING_UTILS_H_INCLUDED</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="oscl__base_8h.html" title="The file oscl_base.h is the public header that should be included to pick up the...">oscl_base.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="group__osclutil.html#gae9d8c8616fc9dff1c47b151d72f6fe25">00025</a> <span class="preprocessor">#define oscl_isdigit(c) ((c) &gt;= &#39;0&#39; &amp;&amp; (c) &lt;= &#39;9&#39;)</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#gae811c6a856346d071c8411fd874a9c90">skip_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *ptr);
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">char</span> * <a class="code" href="group__osclutil.html#gae811c6a856346d071c8411fd874a9c90">skip_whitespace</a>(<span class="keywordtype">char</span> * ptr);
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#gae811c6a856346d071c8411fd874a9c90">skip_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end);
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#ga1c828569d8300e185275f789509416f1">skip_to_whitespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end);
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__osclutil.html#ga88bab2101ae54fbf926d0786e48cdfba">skip_to_line_term</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start_ptr, <span class="keyword">const</span> <span class="keywordtype">char</span> *end_ptr);
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__osclutil.html#ga5ba624e63f692ffcfc597d9f208dc853">skip_whitespace_and_line_term</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end);
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#ga4bc7244b466a636e5ba075b9d772bb1a">extract_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * in_ptr, <span class="keywordtype">char</span> *outstring, <span class="keywordtype">int</span> maxsize);
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#ga4bc7244b466a636e5ba075b9d772bb1a">extract_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * start, <span class="keyword">const</span> <span class="keywordtype">char</span> *end, <span class="keywordtype">char</span> *outstring, <span class="keywordtype">int</span> maxsize);
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#ga95d18be7779bbb9cd14d2a1f563809ef">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, uint32&amp; value);
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#ga95d18be7779bbb9cd14d2a1f563809ef">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, <span class="keywordtype">int</span> length, uint32&amp; value);
<a name="l00046"></a>00046 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#ga95d18be7779bbb9cd14d2a1f563809ef">PV_atoi</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keyword">const</span> <span class="keywordtype">char</span> new_format, <span class="keywordtype">int</span> length, <a class="code" href="group__osclbase.html#gaeee93fd1c6230965ea7adc3e63fac06e">uint64</a>&amp; value);
<a name="l00047"></a>00047 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#ga99e6a8d0fb3c6540c756ee72d1f8c672">PV_atof</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <a class="code" href="group__osclbase.html#gac5984c186a54bb7f5bd71246413166cf" title="The Float type defined as OsclFloat.">OsclFloat</a>&amp; value);
<a name="l00048"></a>00048 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#ga99e6a8d0fb3c6540c756ee72d1f8c672">PV_atof</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> length, <a class="code" href="group__osclbase.html#gac5984c186a54bb7f5bd71246413166cf" title="The Float type defined as OsclFloat.">OsclFloat</a>&amp; value);
<a name="l00049"></a>00049 <a class="code" href="osclconfig_8h.html#a6de0f53c5c11f8f53ce72c70d74d9abc">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="group__osclutil.html#ga105e8beb36f7491b8c0d9585b450b735">oscl_abs</a>(<span class="keywordtype">int</span> aVal);
<a name="l00050"></a>00050 <span class="preprocessor">#endif // OSCL_STRING_UTILS_H_INCLUDED</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.002.1.1 </small>
</small></address>
</body>
</html>