*/
public:
+ //! Type that represents a pointer to a Target's constructor.
+ /*! As a pointer to the constructor, it represents a "factory" of targets.
+ ** Receives the output filename (including path).
+ */
typedef Target* (*Factory)(const char *filename);
-
- //! A type for a map of targets, indexed by the name of the Target
- typedef std::map<String,std::pair<Factory,String> > Book;
+
+ struct BookEntry
+ {
+ Factory factory;
+ String filename; ///< Output filename including path
+ };
+
+ //! Book of types of targets indexed by the name of the Target.
+ typedef std::map<String,BookEntry> Book;
typedef std::map<String,String> ExtBook;