mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-15 14:12:52 +00:00
refactor: unglob std::(w)ostream
This commit is contained in:
parent
b9d67d14af
commit
f3ac01c76e
|
|
@ -218,7 +218,7 @@ public:
|
|||
return std::wstring( buf );
|
||||
}
|
||||
|
||||
void print(char *prefix, ostream out)
|
||||
void print(char *prefix, std::ostream out)
|
||||
{
|
||||
/*
|
||||
Tag::print(prefix, out);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public:
|
|||
return std::wstring( buf );
|
||||
}
|
||||
|
||||
void print(char *prefix, ostream out)
|
||||
void print(char *prefix, std::ostream out)
|
||||
{
|
||||
printf(prefix);
|
||||
|
||||
|
|
|
|||
|
|
@ -47,12 +47,12 @@ bool Tag::equals(Tag *obj)
|
|||
return true;
|
||||
}
|
||||
|
||||
void Tag::print(ostream out)
|
||||
void Tag::print(std::ostream out)
|
||||
{
|
||||
out << "";
|
||||
}
|
||||
|
||||
void Tag::print(char *prefix, wostream out)
|
||||
void Tag::print(char *prefix, std::wostream out)
|
||||
{
|
||||
std::wstring name = getName();
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ public:
|
|||
virtual void load(DataInput *dis) = 0;
|
||||
virtual std::wstring toString() = 0;
|
||||
virtual uint8_t getId() = 0;
|
||||
void print(ostream out);
|
||||
void print(char *prefix, wostream out);
|
||||
void print(std::ostream out);
|
||||
void print(char *prefix, std::wostream out);
|
||||
std::wstring getName();
|
||||
Tag *setName(const std::wstring& name);
|
||||
static Tag *readNamedTag(DataInput *dis);
|
||||
|
|
|
|||
Loading…
Reference in a new issue