if (myMinor < 0) myMinor = MED_MINOR_NUM;
myFile->Open(theMode,theErr);
}
-
+
~TFileWrapper()
{
myFile->Close();
//---------------------------------------------------------------
TVWrapper::TVWrapper(const std::string& theFileName, TInt theMinor):
- myMinor(theMinor),
- myFile(new TFile(theFileName, theMinor))
+ myFile(new TFile(theFileName, theMinor)),
+ myMinor(theMinor)
{
TErr aRet;
myFile->Open( eLECTURE_ECRITURE, &aRet );