Summary
Tab is a simple class to hold the number of tabs used during output.
Source
// $Id: tab.h,v 1.4 1999/02/12 14:39:13 shields Exp $
copyright notice
#ifndef tab_INCLUDED
#define tab_INCLUDED
#include "config.h"
#include <wchar.h>
#include <string.h>
class Tab
{
public:
enum { DEFAULT_TAB_SIZE = 8 };
inline static int TabSize() { return tab_size; }
inline static void SetTabSize(int value) { tab_size = value; }
static int Wcslen(wchar_t *line, int start, int end);
private:
static int tab_size;
};
#endif