#include "Lexer.h"
#include "TextClass.h"
-#include "support/assert.h"
+#include "support/lassert.h"
#include "support/debug.h"
#include "support/FileName.h"
#include "support/filetools.h"
texClassAvail_ = texClassAvail;
}
+LayoutFileList::~LayoutFileList()
+{
+ ClassMap::const_iterator it = classmap_.begin();
+ ClassMap::const_iterator en = classmap_.end();
+ for (; it != en; ++it) {
+ delete it->second;
+ }
+}
LayoutFileList & LayoutFileList::get()
{
string const LayoutFileList::localPrefix = "LOCAL:";
-string const LayoutFileList::embeddedPrefix = "EMBED:";
-
LayoutFileIndex
LayoutFileList::addLayoutFile(string const & textclass, string const & path,
if (type == Local)
localIndex = localPrefix + fullName;
- else if (type == Embedded)
- localIndex = embeddedPrefix + textclass;
// if the local file has already been loaded, return it
if (haveClass(localIndex))