flyweightbyid

Undocumented in source.

Members

Aliases

ConfigSingleton
alias ConfigSingleton = Flyweight!(Config*, loadConfig, unloadConfig, "instance", FlyweightOptions.gshared | FlyweightOptions.noReferenceCount)
Undocumented in source.
ImageFlyweight
alias ImageFlyweight = Flyweight!(Image*, loadImage, unloadImage, imageFileNames)
Undocumented in source.

Enums

FlyweightOptions
enum FlyweightOptions

Options for Flyweight instances.

Functions

disposeName
void disposeName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
loadConfig
Config* loadConfig(uint )
Undocumented in source. Be warned that the author may not have intended to support it.
loadImage
Image* loadImage(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
makeName
string makeName(uint id)
Undocumented in source.
unloadConfig
void unloadConfig(Config* c)
Undocumented in source. Be warned that the author may not have intended to support it.
unloadImage
void unloadImage(Image* img)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

imageFileNames
enum imageFileNames;
Undocumented in source.
names
enum names;
Undocumented in source.

Structs

Config
struct Config
Undocumented in source.
Flyweight
struct Flyweight(T, alias makeFunc, alias disposeFunc, alias idNames, const FlyweightOptions options = FlyweightOptions.none)

Flyweight template.

Image
struct Image
Undocumented in source.

Meta