Registry is a singleton factory which stores the Objects types available at runtime for loading, and any Object reader or writers which are linked in at runtime for reading non-native file formats.
Registry is a singleton factory which stores the Objects types available at runtime for loading, and any Object reader or writers which are linked in at runtime for reading non-native file formats.The RegisterObjectProxy defined in Object.h can be used to automatically register at runtime a Object with the Registry.
The RegisterReaderWriterProxy defined in ReaderWriter.h can be used to automatically register at runtime a reader/writer with the Registry.
static Registry* instance()
void addPrototype(Object* obj)
void removePrototype(Object* obj)
void addReaderWriter(ReaderWriter* rw)
void removeReaderWriter(ReaderWriter* rw)
std::string createLibraryNameForFile(const std::string& fileName)
std::string createLibraryNameForExt(const std::string& ext)
bool loadLibrary(const std::string& fileName)
bool closeLibrary(const std::string& fileName)
Object* readObject(Input& fr)
Object* readObject(const std::string& fileName)
bool writeObject(Object& obj, const std::string& fileName)
Image* readImage(Input& fr)
Image* readImage(const std::string& fileName)
bool writeImage(Image& obj, const std::string& fileName)
Node* readNode(Input& fr)
Alphabetic index HTML hierarchy of classes or Java