}
case Storage_VSRead:
{
- // ios::nocreate is not portable
- anOpenMode = ios::in;
+ // std::ios::nocreate is not portable
+ anOpenMode = std::ios::in;
break;
}
case Storage_VSWrite:
{
- anOpenMode = ios::out;
+ anOpenMode = std::ios::out;
break;
}
case Storage_VSReadWrite:
{
- anOpenMode = ios::in | ios::out;
+ anOpenMode = std::ios::in | std::ios::out;
break;
}
}
unsigned short i = 0;
if (!(myStream >> i)) {
// SGI : donne une erreur mais a une bonne valeur pour les caracteres ecrits
- // signes (-80 fait ios::badbit, mais la variable i est initialisee)
+ // signes (-80 fait std::ios::badbit, mais la variable i est initialisee)
//
if (i == 0) throw Storage_StreamTypeMismatchError();
- myStream.clear(ios::goodbit); // .clear(0) is not portable
+ myStream.clear(std::ios::goodbit); // .clear(0) is not portable
}
aValue = (char)i;
}
if (!(myStream >> aType)) throw Storage_StreamTypeMismatchError();
-// cout << "REF:" << aRef << " TYPE:"<< aType << endl;
+// std::cout << "REF:" << aRef << " TYPE:"<< aType << std::endl;
}
//=======================================================================
myStream.get(c);
}
-//cout << "BeginReadPersistentObjectData" << endl;
+//std::cout << "BeginReadPersistentObjectData" << std::endl;
}
//=======================================================================
myStream.get(c);
}
-// cout << "BeginReadObjectData" << endl;
+// std::cout << "BeginReadObjectData" << std::endl;
}
//=======================================================================
myStream.get(c);
}
-// cout << "EndReadObjectData" << endl;
+// std::cout << "EndReadObjectData" << std::endl;
}
//=======================================================================
}
myStream.get(c);
}
-// cout << "EndReadPersistentObjectData" << endl;
+// std::cout << "EndReadPersistentObjectData" << std::endl;
}
//=======================================================================