Recovered from cvs revision 2007-10-10 03:37:00

This commit is contained in:
2007-10-10 16:03:00 +00:00
parent 853d8e8e1e
commit c79702df8e
7 changed files with 128 additions and 85 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.cpp,v 1.68 2007/10/07 15:27:39 bacon Exp $
* $Id: Awk.cpp,v 1.69 2007/10/08 09:43:15 bacon Exp $
*
* {License}
*/
@ -901,6 +901,16 @@ Awk::Run::~Run ()
{
}
Awk::Run::operator Awk* () const
{
return this->awk;
}
Awk::Run::operator Awk::run_t* () const
{
return this->run;
}
int Awk::Run::stop () const
{
ASE_ASSERT (this->run != ASE_NULL);
@ -1033,6 +1043,11 @@ Awk::~Awk ()
{
}
Awk::operator Awk::awk_t* () const
{
return this->awk;
}
Awk::ErrorCode Awk::getErrorCode () const
{
return this->errnum;

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp,v 1.69 2007/10/07 15:27:39 bacon Exp $
* $Id: Awk.hpp,v 1.70 2007/10/08 09:43:15 bacon Exp $
*
* {License}
*/
@ -569,6 +569,9 @@ public:
~Run ();
public:
operator Awk* () const;
operator run_t* () const;
int stop () const;
ErrorCode getErrorCode () const;
@ -688,6 +691,9 @@ public:
Awk ();
/** Destructor */
virtual ~Awk ();
/** Returns the underlying handle */
operator awk_t* () const;
/** Returns the error code */
ErrorCode getErrorCode () const;