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:
Scott R Charlton 2013-08-28 04:57:57 +00:00
parent f9405e0d26
commit 90ff41c480
2 changed files with 6 additions and 0 deletions

View File

@ -146,3 +146,8 @@ int FileTest::Delete(void)
} }
return TRUE; return TRUE;
} }
size_t FileTest::Size(void)
{
return ::FileSize(_fn.c_str());
}

View File

@ -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;