33 lines
456 B
C++
33 lines
456 B
C++
#pragma once
|
|
#include "AString.h"
|
|
#include "globalDefine.h"
|
|
|
|
class WFormatUnit : public AString
|
|
{
|
|
public:
|
|
|
|
WFormatUnit();
|
|
|
|
WFormatUnit(const char *format, long &cur, char* &curP);
|
|
|
|
WFormatUnit(const char *format, long &cur, const AString &s, long &sCur);
|
|
|
|
virtual ~WFormatUnit();
|
|
|
|
bool IsValid()const;
|
|
|
|
WFormatUnit& operator = (const WFormatUnit& src);
|
|
|
|
public:
|
|
|
|
int width;
|
|
|
|
int bLeftAlign;
|
|
|
|
int preci;
|
|
|
|
bool bValid;
|
|
|
|
FormatType type;
|
|
};
|