Planet
navihomeaboutscreenshotsdownloaddevelopmentforum
Orxonox: orxonox::ResourceLocation Class Reference

orxonox::ResourceLocation Class Reference

#include <tools/ResourceLocation.h>

Inheritance diagram for orxonox::ResourceLocation:
orxonox::BaseObject orxonox::OrxonoxClass

List of all members.

Public Member Functions

 ResourceLocation (BaseObject *creator)
virtual ~ResourceLocation ()
const std::stringgetArchiveType () const
const std::stringgetPath () const
bool getRecursive () const
const std::stringgetResourceGroup () const
void setArchiveType (const std::string &archiveType)
void setPath (const std::string &path)
void setRecursive (bool bRecursive)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.

Private Member Functions

 ResourceLocation (const ResourceLocation &)
void load (const std::string &resourceGroup)
void unload ()

Private Attributes

std::string archiveType_
bool bRecursive_
std::string path_
std::string resourceGroup_

Friends

class ResourceCollection

Constructor & Destructor Documentation

orxonox::ResourceLocation::ResourceLocation ( BaseObject creator  ) 
orxonox::ResourceLocation::~ResourceLocation (  )  [virtual]
orxonox::ResourceLocation::ResourceLocation ( const ResourceLocation  )  [private]

Member Function Documentation

const std::string& orxonox::ResourceLocation::getArchiveType (  )  const [inline]
const std::string& orxonox::ResourceLocation::getPath (  )  const [inline]
bool orxonox::ResourceLocation::getRecursive (  )  const [inline]
const std::string& orxonox::ResourceLocation::getResourceGroup (  )  const [inline]
void orxonox::ResourceLocation::load ( const std::string resourceGroup  )  [private]
void orxonox::ResourceLocation::setArchiveType ( const std::string archiveType  )  [inline]
void orxonox::ResourceLocation::setPath ( const std::string path  )  [inline]
void orxonox::ResourceLocation::setRecursive ( bool  bRecursive  )  [inline]
void orxonox::ResourceLocation::unload (  )  [private]
void orxonox::ResourceLocation::XMLPort ( Element &  xmlelement,
XMLPort::Mode  mode 
) [virtual]

XML loading and saving.

Parameters:
xmlelement The XML-element
mode The mode defines the operation that is being executed: loading or saving the object (from or to XML respectively)

Reimplemented from orxonox::BaseObject.


Friends And Related Function Documentation

friend class ResourceCollection [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
Generated on Tue May 21 06:36:27 2013 for Orxonox by  doxygen 1.6.3