Resource Class Reference

#include <Resource.h>

Inheritance diagram for Resource:

Inheritance graph
[legend]
Collaboration diagram for Resource:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Resource ()
DataTreegetHeader ()
DataTreegetProperies ()
void Dump ()
bool LoadFileHeader (const std::string &filename)
bool LoadFileProperties ()
bool LoadFromFile (const std::string &filename)
bool LoadFromFileXML (const std::string &filename)
bool SaveToFileXML (const std::string &filename)
bool SaveToFile (const std::string &filename)
bool headerLoaded ()
bool propertiesLoaded ()
void setId (const std::string &id_in)
void setType (const std::string &typeName_in)
std::string & getId ()
std::string & getType ()
virtual void onLoad ()
virtual void onSave ()

Static Public Member Functions

static bool GetFileHeader (const std::string &filename, DataTree &fileHeader_out)

Protected Attributes

DataTreeproperties
DataTreeheader
std::string idName
std::string typeName
std::string sourceFile
bool loaded


Constructor & Destructor Documentation

Resource::Resource (  ) 


Member Function Documentation

DataTree & Resource::getHeader (  ) 

DataTree & Resource::getProperies (  ) 

void Resource::Dump (  ) 

bool Resource::GetFileHeader ( const std::string &  filename,
DataTree fileHeader_out 
) [static]

Here is the call graph for this function:

bool Resource::LoadFileHeader ( const std::string &  filename  ) 

Here is the call graph for this function:

bool Resource::LoadFileProperties (  ) 

Here is the call graph for this function:

bool Resource::LoadFromFile ( const std::string &  filename  ) 

Here is the call graph for this function:

bool Resource::LoadFromFileXML ( const std::string &  filename  ) 

Here is the call graph for this function:

bool Resource::SaveToFileXML ( const std::string &  filename  ) 

Here is the call graph for this function:

bool Resource::SaveToFile ( const std::string &  filename  ) 

Here is the call graph for this function:

bool Resource::headerLoaded (  ) 

bool Resource::propertiesLoaded (  ) 

void Resource::setId ( const std::string &  id_in  ) 

void Resource::setType ( const std::string &  typeName_in  ) 

std::string & Resource::getId (  ) 

std::string & Resource::getType (  ) 

void Resource::onLoad (  )  [virtual]

void Resource::onSave (  )  [virtual]


Member Data Documentation

DataTree* Resource::header [protected]

std::string Resource::idName [protected]

std::string Resource::typeName [protected]

std::string Resource::sourceFile [protected]

bool Resource::loaded [protected]


The documentation for this class was generated from the following files:

Generated on Thu Mar 19 19:35:34 2009 for CubicVR by  doxygen 1.5.6