Commit 41e743c4 authored by Martin Marinov's avatar Martin Marinov

Moved some BASEDLLEXPORT declarations from methods to the class

parent a2660391
......@@ -39,16 +39,16 @@ struct Command
const Command ENDL = Command::END_LF;
const Command LF = Command::END_LF;
class IOutputStream
class BASEDLLEXPORT IOutputStream
{
public:
virtual ~IOutputStream() {}
BASEDLLEXPORT virtual IOutputStream& print(const char) = 0;
BASEDLLEXPORT virtual IOutputStream& print(const int) = 0;
BASEDLLEXPORT virtual IOutputStream& print(const size_t) = 0;
BASEDLLEXPORT virtual IOutputStream& print(const double) = 0;
BASEDLLEXPORT virtual IOutputStream& print(const char* const) = 0;
BASEDLLEXPORT virtual IOutputStream& print(const Command&) = 0;
virtual IOutputStream& print(const char) = 0;
virtual IOutputStream& print(const int) = 0;
virtual IOutputStream& print(const size_t) = 0;
virtual IOutputStream& print(const double) = 0;
virtual IOutputStream& print(const char* const) = 0;
virtual IOutputStream& print(const Command&) = 0;
};
BASEDLLEXPORT IOutputStream& operator<<(IOutputStream& _ds, const int _i);
......
......@@ -7,15 +7,15 @@
namespace Base {
class OStringStream : public IOutputStream
class BASEDLLEXPORT OStringStream : public IOutputStream
{
public:
BASEDLLEXPORT virtual IOutputStream& print(const char);
BASEDLLEXPORT virtual IOutputStream& print(const int);
BASEDLLEXPORT virtual IOutputStream& print(const size_t);
BASEDLLEXPORT virtual IOutputStream& print(const double);
BASEDLLEXPORT virtual IOutputStream& print(const char* const);
BASEDLLEXPORT virtual IOutputStream& print(const Command&);
virtual IOutputStream& print(const char);
virtual IOutputStream& print(const int);
virtual IOutputStream& print(const size_t);
virtual IOutputStream& print(const double);
virtual IOutputStream& print(const char* const);
virtual IOutputStream& print(const Command&);
std::string str;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment