See also classes ObjectLoader and CollectionObjectLoader in objectloader.h.
*/
-class Loader
+class Loader: private NonCopyable
{
protected:
- typedef std::map<StatementKey, LoaderAction *> ActionMap;
+ class ActionMap: public std::map<StatementKey, LoaderAction *>, private NonCopyable
+ {
+ public:
+ ~ActionMap();
+ };
private:
ActionMap local_actions;
Loader();
public:
- virtual ~Loader();
+ virtual ~Loader() { }
/** Loads statements from a parser. */
void load(Parser &p);
}
/**
-Loads an object from a file stored in a collection. The object must havea
+Loads an object from a file stored in a collection. The object must have a
public Loader class. The collection is passed to the Loader constructor,
followed by any extra arguments.
*/