<!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>Vidalia: GeoIpCacheItem.cpp File Reference</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 Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_b47abd1aad201a152869566145babb61.html">src</a> » <a class="el" href="dir_695ba8f8357372e02d38c40b3c6dbe81.html">vidalia</a> » <a class="el" href="dir_3776330d706700e272fa8df738fecea6.html">network</a> </div> </div> <div class="contents"> <h1>GeoIpCacheItem.cpp File Reference</h1><code>#include "<a class="el" href="_geo_ip_cache_item_8h_source.html">GeoIpCacheItem.h</a>"</code><br/> <code>#include "<a class="el" href="_geo_ip_8h_source.html">GeoIp.h</a>"</code><br/> <code>#include "<a class="el" href="stringutil_8h_source.html">stringutil.h</a>"</code><br/> <code>#include <QString></code><br/> <code>#include <QDateTime></code><br/> <code>#include <QStringList></code><br/> <p><a href="_geo_ip_cache_item_8cpp_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#a1b62ed60436ea63bb92c131a9498185b">CACHE_KEY_FROM_IP</a> "FROM"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#ac3e3770fb26ab76531bec82914cbabad">CACHE_KEY_TO_IP</a> "TO"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#a6cdc1c6adbd04c1f2ecf30e6b627ff1c">CACHE_KEY_EXPIRES</a> "EXPIRES"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#a47a986accf6a21b0b59616cc312e81fe">CACHE_KEY_LATITUDE</a> "LAT"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#afc5bf3d660a4b0a82ea4eda473d400a7">CACHE_KEY_LONGITUDE</a> "LON"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#a340519ce23ff2f7ddf9ead633f663612">CACHE_KEY_CITY</a> "CITY"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#aceb025d00b6cf9b61f487e28522854a6">CACHE_KEY_REGION</a> "REGION"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#a547278236f2980927288c2dbf4509963">CACHE_KEY_COUNTRY</a> "COUNTRY"</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_geo_ip_cache_item_8cpp.html#ae655d1fe761dd4314fa4bf94d5ac4fbd">CACHE_KEY_COUNTRY_CODE</a> "CC"</td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="a340519ce23ff2f7ddf9ead633f663612"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_CITY" ref="a340519ce23ff2f7ddf9ead633f663612" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_CITY "CITY"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00031">31</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="a547278236f2980927288c2dbf4509963"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_COUNTRY" ref="a547278236f2980927288c2dbf4509963" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_COUNTRY "COUNTRY"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00033">33</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="ae655d1fe761dd4314fa4bf94d5ac4fbd"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_COUNTRY_CODE" ref="ae655d1fe761dd4314fa4bf94d5ac4fbd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_COUNTRY_CODE "CC"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00034">34</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="a6cdc1c6adbd04c1f2ecf30e6b627ff1c"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_EXPIRES" ref="a6cdc1c6adbd04c1f2ecf30e6b627ff1c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_EXPIRES "EXPIRES"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00028">28</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00114">GeoIpCacheItem::toCacheString()</a>.</p> </div> </div> <a class="anchor" id="a1b62ed60436ea63bb92c131a9498185b"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_FROM_IP" ref="a1b62ed60436ea63bb92c131a9498185b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_FROM_IP "FROM"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00026">26</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00114">GeoIpCacheItem::toCacheString()</a>.</p> </div> </div> <a class="anchor" id="a47a986accf6a21b0b59616cc312e81fe"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_LATITUDE" ref="a47a986accf6a21b0b59616cc312e81fe" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_LATITUDE "LAT"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00029">29</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00083">GeoIpCacheItem::isValid()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="afc5bf3d660a4b0a82ea4eda473d400a7"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_LONGITUDE" ref="afc5bf3d660a4b0a82ea4eda473d400a7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_LONGITUDE "LON"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00030">30</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00083">GeoIpCacheItem::isValid()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="aceb025d00b6cf9b61f487e28522854a6"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_REGION" ref="aceb025d00b6cf9b61f487e28522854a6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_REGION "REGION"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00032">32</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00043">GeoIpCacheItem::GeoIpCacheItem()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00100">GeoIpCacheItem::toGeoIp()</a>.</p> </div> </div> <a class="anchor" id="ac3e3770fb26ab76531bec82914cbabad"></a><!-- doxytag: member="GeoIpCacheItem.cpp::CACHE_KEY_TO_IP" ref="ac3e3770fb26ab76531bec82914cbabad" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CACHE_KEY_TO_IP "TO"</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00027">27</a> of file <a class="el" href="_geo_ip_cache_item_8cpp_source.html">GeoIpCacheItem.cpp</a>.</p> <p>Referenced by <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00135">GeoIpCacheItem::fromCacheString()</a>, and <a class="el" href="_geo_ip_cache_item_8cpp_source.html#l00114">GeoIpCacheItem::toCacheString()</a>.</p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:55 2010 for Vidalia by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>