OSDLUtils.h File Reference

#include "OSDLException.h"
#include "Ceylan.h"
#include <string>
Include dependency graph for OSDLUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OSDL
 

Definition of the main OSDL common non-specialized types.


namespace  OSDL::Utils
 

Various convenient helpers are defined here.


Typedefs

typedef ::SDL_RWops OSDL::Utils::DataStream
 A DataStream is a way of writing and/or reading for an opaque data storage, which can be actually a file, a buffer in memory, or anything else.

Functions

OSDL_DLL const std::string OSDL::Utils::getBackendLastError ()
 Returns a description of the main back-end related internal error.
OSDL_DLL Ceylan::Latin1Char OSDL::Utils::getNativeDirectorySeparator ()
OSDL_DLL std::string OSDL::Utils::getProgramPath ()
 Returns the path where the program resides.
OSDL_DLL std::string OSDL::Utils::getUserDirectory ()
 Returns the path where the user's home directory resides.
OSDL_DLL DataStream & OSDL::Utils::createDataStreamFrom (Ceylan::System::File &sourceFile)
 Returns a DataStream corresponding to specific file object, which can be of any sort (ex: standard file, embedded file, etc.
OSDL_DLL void OSDL::Utils::deleteDataStream (DataStream &datastream)
 Deletes specified datastream.
Generated on Mon Nov 29 14:05:04 2010 for OSDL by  doxygen 1.6.3