fixed: compile error in item.h (in CacheFunctions)
fixed: Pattern::ClearCache() was missing git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@973 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
1 parent
00f8af232b
commit
ad2fb11a5c
5 files changed
+31
-19
No files matched your search
+14
-11
@@ -55,13 +55,6 @@ public:
|
||||
Pattern();
|
||||
|
||||
void Clear();
|
||||
void ClearCache();
|
||||
|
||||
template<class StreamType>
|
||||
void CacheFunctions(Functions<StreamType> & fun)
|
||||
{
|
||||
CacheFunctions(item_root, fun);
|
||||
}
|
||||
|
||||
void SetCommentary(const char * com_start, const char * com_stop);
|
||||
void SetCommentary(const std::string & com_start, const std::string & com_stop);
|
||||
@@ -70,22 +63,32 @@ public:
|
||||
|
||||
void CreateMsg(std::wstring & out, const wchar_t * type, const wchar_t * arg = 0);
|
||||
|
||||
template<class StreamType>
|
||||
void CacheFunctions(Functions<StreamType> & fun);
|
||||
|
||||
void ClearCache();
|
||||
|
||||
|
||||
Item item_root;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
/*
|
||||
* IMRPOVE ME
|
||||
* they should be moved into PatternParser and Generator
|
||||
*/
|
||||
std::wstring commentary_start, commentary_stop;
|
||||
|
||||
|
||||
|
||||
|
||||
}; // class Pattern
|
||||
|
||||
|
||||
|
||||
template<class StreamType>
|
||||
void Pattern::CacheFunctions(Functions<StreamType> & fun)
|
||||
{
|
||||
item_root.CacheFunctions(fun);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user