**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
-Projections::copyViewData (const string& filename, ostream& os, int startView, int endView)
+Projections::copyViewData (const std::string& filename, std::ostream& os, int startView, int endView)
{
return copyViewData (filename.c_str(), os, startView, endView);
}
bool
{
return copyViewData (filename.c_str(), os, startView, endView);
}
bool
-Projections::copyViewData (const char* const filename, ostream& os, int startView, int endView)
+Projections::copyViewData (const char* const filename, std::ostream& os, int startView, int endView)
{
frnetorderstream is (filename, ios::in | ios::binary);
kuint16 sizeHeader, signature;
{
frnetorderstream is (filename, ios::in | ios::binary);
kuint16 sizeHeader, signature;
- is.read (pViewData, sizeView);
- os.write (pViewData, sizeView);
+ is.read (reinterpret_cast<char*>(pViewData), sizeView);
+ os.write (reinterpret_cast<char*>(pViewData), sizeView);
kuint16 sizeHeader, signature;
is.readInt16 (sizeHeader);
is.readInt16 (signature);
kuint16 sizeHeader, signature;
is.readInt16 (sizeHeader);
is.readInt16 (signature);