Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Application::TagsLife::Photo::initPhoto ( DOMNode photo  )  [inline, private]

Definition at line 49 of file Photo.h.

References Impala::atof(), Impala::atoi(), farm, Impala::Util::XmlDoc::GetAttributeValue(), latitude, longitude, owner, ownername, secret, server, title, and views.

Referenced by Photo().

00049                                    {
00050                 //<photo accuracy="0" datetaken="2007-12-03 23:43:22"
00051                 // datetakengranularity="0" dateupload="1196753888" farm="3" iconfarm="3" iconserver="2139"
00052                 // id="2085457991" isfamily="0" isfriend="0" ispublic="1" lastupdate="1226395381" license="0"
00053                 // latitude="0" longitude="0" machine_tags="" media="photo" media_status="ready"
00054                 // owner="73379027@N00" ownername="Angela Layana" secret="6c11c40286" server="2147"
00055                 // tags="amywinehouse" title="2007 vs 2004" views="168000" />
00056                 id = GetAttributeValue(photo, "id");
00057                 secret = GetAttributeValue(photo, "secret");
00058 
00059                 farm = atoi(GetAttributeValue(photo, "farm"));
00060                 server = atoi(GetAttributeValue(photo, "server"));
00061 
00062                 owner = GetAttributeValue(photo, "owner");
00063                 title = GetAttributeValue(photo, "title");
00064                 ownername = GetAttributeValue(photo, "ownername");
00065 
00066                 latitude = atof(GetAttributeValue(photo, "latitude"));
00067                 longitude = atof(GetAttributeValue(photo, "longitude"));
00068 
00069                 views = atoi(GetAttributeValue(photo, "views"));
00070     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:21 2011 for ImpalaSrc by  doxygen 1.5.1