|
#ifndef _COMMON_HEADER_INCLUDED
#define _COMMON_HEADER_INCLUDED
#ifdef _DEBUG
#define PURE_VIRTUAL { ASSERT(FALSE); }
#define PURE_VIRTUAL_FALSE { ASSERT(FALSE); return 0; }
#else
#define PURE_VIRTUAL =0
#define PURE_VIRTUAL_FALSE =0
#endif
#include <map>
#include <string>
#include <list>
#include <sstream>
#include <vector>
#include <stack>
#include <set>
#include <algorithm>
#include <fstream>
namespace std
{
template<class _Ty, class _C = deque<_Ty> >
class fixed_stack : public stack<_Ty,_C>
{
public:
typedef _C container_type;
public:
_C& _Get_c() { return c; };
const _C& _Get_c() const { return c; };
};
};
#define stack fixed_stack
#ifdef _UNICODE
namespace std {
typedef std::basic_string<wchar_t> tstring;
typedef std::basic_stringstream<wchar_t> tstringstream;
};
#else
namespace std {
typedef std::basic_string<char> tstring;
typedef std::basic_stringstream<char> tstringstream;
};
#endif
#include "common_error.h"
#include "tkCommon/ctkFlagsMixin.h"
#include "tkCommon/ctkMisc.h"
#include "tkCommon/ctkCheckValid.h"
#include "tkCommon/ctkExternalObjectPointer.h"
#include "tkCommon/ctkHLinkedList.h"
#include "tkCommon/ctkEnumerator.h"
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.