ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Tools::DefinitionRegistry Class Reference

Storage for aliases between world resources and names. More...

#include <command.h>

Collaboration diagram for Stark::Tools::DefinitionRegistry:

List of all members.

Public Member Functions

void registerReference (const ResourceReference &reference)
 Add a definition from a reference.
Common::String getFromReference (const ResourceReference &reference) const
 Get a previously registered definition from a reference.
void printAll () const
 Print all the registered definitions.

Private Types

typedef Common::HashMap
< Resources::Object
*, Common::String
DefinitionMap

Private Member Functions

Common::String stringToCamelCase (const Common::String &input)

Private Attributes

DefinitionMap _definitions

Detailed Description

Storage for aliases between world resources and names.

Definition at line 154 of file command.h.


Member Typedef Documentation


Member Function Documentation

Common::String Stark::Tools::DefinitionRegistry::getFromReference ( const ResourceReference reference  )  const

Get a previously registered definition from a reference.

Definition at line 324 of file command.cpp.

void Stark::Tools::DefinitionRegistry::printAll (  )  const

Print all the registered definitions.

Definition at line 364 of file command.cpp.

void Stark::Tools::DefinitionRegistry::registerReference ( const ResourceReference reference  ) 

Add a definition from a reference.

The name is computed from the object's name

Definition at line 311 of file command.cpp.

Common::String Stark::Tools::DefinitionRegistry::stringToCamelCase ( const Common::String input  )  [private]

Definition at line 339 of file command.cpp.


Member Data Documentation


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


Generated on Sat Aug 17 2019 05:03:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge