Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ResourceBundle Class Reference

A ResourceBundle is used to represent a collection of resources. More...

#include <vcf/FoundationKit/ResourceBundle.h>

Inheritance diagram for VCF::ResourceBundle:

VCF::Object VCF::GraphicsResourceBundle VCF::ApplicationResourceBundle List of all members.

Public Member Functions

 ResourceBundle ()
virtual ~ResourceBundle ()
String getString (const uint32 &resourceID)
String getString (const String &resourceName)
String getVFF (const String &resourceName)
 returns the text that represents a Form.
ResourcegetResource (const String &resourceName)
 returns a Resource object given the resource's name.
ProgramInfogetProgramInfo ()
virtual String getResourcesDirectory ()
 Returns the resource directory for this bundle if it exists, otherwise returns an empty string.

Protected Attributes

ResourceBundlePeerpeer_

Detailed Description

A ResourceBundle is used to represent a collection of resources.

ResourceBundle's can be attached to external files or applications.


Constructor & Destructor Documentation

VCF::ResourceBundle::ResourceBundle  ) 
 

virtual VCF::ResourceBundle::~ResourceBundle  )  [virtual]
 


Member Function Documentation

ProgramInfo* VCF::ResourceBundle::getProgramInfo  ) 
 

Resource* VCF::ResourceBundle::getResource const String resourceName  ) 
 

returns a Resource object given the resource's name.

virtual String VCF::ResourceBundle::getResourcesDirectory  )  [virtual]
 

Returns the resource directory for this bundle if it exists, otherwise returns an empty string.

Reimplemented in VCF::ApplicationResourceBundle.

String VCF::ResourceBundle::getString const String resourceName  ) 
 

String VCF::ResourceBundle::getString const uint32 resourceID  ) 
 

String VCF::ResourceBundle::getVFF const String resourceName  ) 
 

returns the text that represents a Form.

This text is standard XML and contains the component hierarchy and properties for creating a frame.


Member Data Documentation

ResourceBundlePeer* VCF::ResourceBundle::peer_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information