|
wavelength 1.0.0
|
#include <list>#include <map>#include <memory>#include <vector>#include "os/binstream.h"#include "os/file.h"#include "os/filepath.h"#include "os/strless.h"#include "rnd/rndloader.h"#include "rnd/rndobject.h"

Go to the source code of this file.
Classes | |
| class | RndManager |
| Registry of every live renderer object, of every class a .rnd file may instantiate, and of the texture files being read. More... | |
| class | RndManager::ResourceLoader |
| Read of one resource file into memory, shared by every reference to the file. More... | |
Functions | |
| template<typename T> | |
| BinStream & | operator<< (BinStream &stream, const std::list< T * > &list) |
| Write a list of objects as its size followed by each object's name. | |
| template<typename T> | |
| BinStream & | operator>> (BinStream &stream, std::list< T * > &list) |
| Read a list of objects the list writer wrote, resolving each name in TheManager. | |
| template<typename T> | |
| BinStream & | operator<< (BinStream &stream, const std::vector< T * > &objects) |
| Write a vector of objects as its size followed by each object's name. | |
| template<typename T> | |
| BinStream & | operator>> (BinStream &stream, std::vector< T * > &objects) |
| Read a vector of objects the vector writer wrote, resolving each name in TheManager. | |
Variables | |
| RndManager | TheManager |
| The renderer's registry. | |
Write a list of objects as its size followed by each object's name.
A null entry writes an empty name. Each element type has its own copy, one address each.
| stream | The stream to write to. |
| list | The list. |
Read a list of objects the list writer wrote, resolving each name in TheManager.
An empty name, an unknown name, or an object of another class reads as null. Each element type has its own copy, one address each.
| stream | The stream to read from. |
| list | Receives the objects. |
| BinStream & operator<< | ( | BinStream & | stream, |
| const std::vector< T * > & | objects ) |
Write a vector of objects as its size followed by each object's name.
A null entry writes an empty name. Each element type has its own instance, and the addresses are those of the RndMat and the RndFont instances.
| stream | The stream to write to. |
| objects | The vector. |
Read a vector of objects the vector writer wrote, resolving each name in TheManager.
An empty name, an unknown name, or an object of another class reads as null. Each element type has its own instance, and the addresses are those of the RndMat and the RndFont instances.
| stream | The stream to read from. |
| objects | Receives the objects. |
|
extern |
The renderer's registry.