ulxr::VirtualResource Class Reference
[General helper classes]

A resource that only exists in memory. More...

#include <ulxr_virtual_resource.h>

Inheritance diagram for ulxr::VirtualResource:

Inheritance graph
[legend]
Collaboration diagram for ulxr::VirtualResource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VirtualResource (const CppString &res_name)
 Creates the resource.
virtual ~VirtualResource ()
 Destroys the resource.
virtual void open ()
 Opens the resource.
virtual void close ()
 Closes the resource.
virtual bool good ()
 Tests the state of the resource.

Detailed Description

A resource that only exists in memory.

Definition at line 44 of file ulxr_virtual_resource.h.


Constructor & Destructor Documentation

ulxr::VirtualResource::VirtualResource ( const CppString res_name  ) 

Creates the resource.

Parameters:
res_name the name of the resource

Definition at line 39 of file ulxr_virtual_resource.cpp.

References open().

ulxr::VirtualResource::~VirtualResource (  )  [virtual]

Destroys the resource.

Definition at line 46 of file ulxr_virtual_resource.cpp.

References close().


Member Function Documentation

void ulxr::VirtualResource::open (  )  [virtual]

Opens the resource.

Implements ulxr::CachedResource.

Definition at line 52 of file ulxr_virtual_resource.cpp.

Referenced by VirtualResource().

void ulxr::VirtualResource::close (  )  [virtual]

Closes the resource.

Implements ulxr::CachedResource.

Definition at line 58 of file ulxr_virtual_resource.cpp.

Referenced by ~VirtualResource().

bool ulxr::VirtualResource::good (  )  [virtual]

Tests the state of the resource.

Returns:
true: state is ok

false: an error occured

Implements ulxr::CachedResource.

Definition at line 63 of file ulxr_virtual_resource.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:14 2007 for ulxmlrpcpp by  doxygen 1.5.1