Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ContentBundle Class Reference

#include <ContentBundle.h>

List of all members.

Public Member Functions

 ContentBundle (const char *bundle, Locale *locale)
virtual ~ContentBundle ()
int operator== (const ContentBundle &that) const
const TextGetName () const
Text GetText (const char *key) const
bool IsLoaded () const
 ContentBundle (const char *bundle, Locale *locale)
virtual ~ContentBundle ()
int operator== (const ContentBundle &that) const
const TextGetName () const
Text GetText (const char *key) const
bool IsLoaded () const

Static Public Member Functions

static const char * TYPENAME ()
static const char * TYPENAME ()

Protected Member Functions

void LoadBundle (const char *filename)
Text FindFile (const char *bundle, Locale *locale)
void LoadBundle (const char *filename)
Text FindFile (const char *bundle, Locale *locale)

Protected Attributes

Text name
Dictionary< Textvalues

Detailed Description

Definition at line 25 of file ContentBundle.h.


Constructor & Destructor Documentation

ContentBundle::ContentBundle ( const char *  bundle,
Locale locale 
)

Definition at line 23 of file ContentBundle.cpp.

ContentBundle::~ContentBundle ( )
virtual

Definition at line 33 of file ContentBundle.cpp.

ContentBundle::ContentBundle ( const char *  bundle,
Locale locale 
)
virtual ContentBundle::~ContentBundle ( )
virtual

Member Function Documentation

Text ContentBundle::FindFile ( const char *  bundle,
Locale locale 
)
protected

Definition at line 48 of file ContentBundle.cpp.

Text ContentBundle::FindFile ( const char *  bundle,
Locale locale 
)
protected
const Text& ContentBundle::GetName ( ) const
inline

Definition at line 35 of file ContentBundle.h.

const Text& ContentBundle::GetName ( ) const
inline

Definition at line 35 of file ContentBundle.h.

Text ContentBundle::GetText ( const char *  key) const

Definition at line 40 of file ContentBundle.cpp.

Text ContentBundle::GetText ( const char *  key) const
bool ContentBundle::IsLoaded ( ) const
inline

Definition at line 37 of file ContentBundle.h.

bool ContentBundle::IsLoaded ( ) const
inline

Definition at line 37 of file ContentBundle.h.

void ContentBundle::LoadBundle ( const char *  filename)
protected
void ContentBundle::LoadBundle ( const char *  filename)
protected

Definition at line 79 of file ContentBundle.cpp.

int ContentBundle::operator== ( const ContentBundle that) const
inline

Definition at line 33 of file ContentBundle.h.

int ContentBundle::operator== ( const ContentBundle that) const
inline

Definition at line 33 of file ContentBundle.h.

static const char* ContentBundle::TYPENAME ( )
inlinestatic

Definition at line 28 of file ContentBundle.h.

static const char* ContentBundle::TYPENAME ( )
inlinestatic

Definition at line 28 of file ContentBundle.h.


Member Data Documentation

Text ContentBundle::name
protected

Definition at line 43 of file ContentBundle.h.

Dictionary< Text > ContentBundle::values
protected

Definition at line 44 of file ContentBundle.h.


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