mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Added Size routine
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/multi_punch@7976 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
f9405e0d26
commit
90ff41c480
@ -146,3 +146,8 @@ int FileTest::Delete(void)
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t FileTest::Size(void)
|
||||||
|
{
|
||||||
|
return ::FileSize(_fn.c_str());
|
||||||
|
}
|
||||||
|
|||||||
@ -24,6 +24,7 @@ public:
|
|||||||
bool VerifyExists(void);
|
bool VerifyExists(void);
|
||||||
bool Exists(void);
|
bool Exists(void);
|
||||||
int Delete(void);
|
int Delete(void);
|
||||||
|
size_t Size(void);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::string _fn;
|
std::string _fn;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user