LLRegionNameCache Class Reference

#include <llregionnamecache.h>

Collaboration diagram for LLRegionNameCache:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLRegionNameCache ()
void put (const LLUUID &region, const LLString &name)
LLString get (const LLUUID &region)
void exportFile (const LLString &filename)
void importFile (const LLString &filename, bool is_static)

Private Attributes

std::map< LLUUID, LLRegionNameCacheEntrymCache

Detailed Description

Definition at line 44 of file llregionnamecache.h.


Constructor & Destructor Documentation

LLRegionNameCache::LLRegionNameCache (  )  [inline]

Definition at line 47 of file llregionnamecache.h.


Member Function Documentation

void LLRegionNameCache::exportFile ( const LLString filename  ) 

Definition at line 57 of file llregionnamecache.cpp.

References llendl, llerrs, llinfos, llofstream, and mCache.

Referenced by save_region_name_cache().

LLString LLRegionNameCache::get ( const LLUUID region  ) 

Definition at line 49 of file llregionnamecache.cpp.

References LLUUID::isNull(), and mCache.

Referenced by LLFloaterChat::getChatPosition().

void LLRegionNameCache::importFile ( const LLString filename,
bool  is_static 
)

Definition at line 92 of file llregionnamecache.cpp.

References count, LLXmlTreeNode::getAttributeUUID(), LLXmlTreeNode::getFirstChild(), LLXmlTreeNode::getName(), LLXmlTreeNode::getNextChild(), LLXmlTree::getRoot(), LLXmlTreeNode::getTextContents(), LLUUID::isNull(), llendl, llinfos, llwarns, mCache, LLXmlTree::parseFile(), and S32.

Referenced by load_region_name_cache().

void LLRegionNameCache::put ( const LLUUID region,
const LLString name 
)

Definition at line 36 of file llregionnamecache.cpp.

References llendl, llinfos, and mCache.

Referenced by process_agent_movement_complete().


Member Data Documentation

std::map<LLUUID,LLRegionNameCacheEntry> LLRegionNameCache::mCache [private]

Definition at line 55 of file llregionnamecache.h.

Referenced by exportFile(), get(), importFile(), and put().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:41 2010 for Second Life Viewer by  doxygen 1.4.7