SALOMEDS_TMPFile_i
::Size()
{
- if(&myStream.in())
+ if(!&myStream.in())
return 0;
return myStream->length();
SALOMEDS_TMPFile_i
::Get(size_t theIndex)
{
- if(&myStream.in())
- throw std::out_of_range("SALOMEDS_TMPFile_i::Get(size_t) const - &myStream.in()");
+ if(!&myStream.in())
+ throw std::out_of_range("SALOMEDS_TMPFile_i::Get(size_t) const - !&myStream.in()");
if(theIndex < 0 || theIndex >= myStream->length())
throw std::out_of_range("SALOMEDS_TMPFile_i::Get(size_t) const - theIndex < 0 || theIndex >= myStream->length()");
Engines_TMPFile_i
::Size()
{
- if(&myStream.in())
+ if(!&myStream.in())
return 0;
return myStream->length();
Engines_TMPFile_i
::Get(size_t theIndex)
{
- if(&myStream.in())
- throw std::out_of_range("Engines_TMPFile_i::Get(size_t) const - &myStream.in()");
+ if(!&myStream.in())
+ throw std::out_of_range("Engines_TMPFile_i::Get(size_t) const - !&myStream.in()");
if(theIndex < 0 || theIndex >= myStream->length())
throw std::out_of_range("Engines_TMPFile_i::Get(size_t) const - theIndex < 0 || theIndex >= myStream->length()");