|
// General Parsing Library
// Copyright (C) 2002 Chris Richardson, christopherjrichardson@yahoo.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
//====================================================================
// Description: Error status enumeration.
//
//====================================================================
// File Name $Workfile: Status.h $
// Revision Number $Revision: 1 $
// Checked in date $Date: 11/28/2001 10:52p $
// Last edit date $Modtime: 11/28/2001 10:52p $
// Last change by $Author: Chris $
//====================================================================
#if !defined( PARSE_STATUS_H )
#define PARSE_STATUS_H
enum ParseStatus
{
PARSE_STATUS_OK = 0,
// File errors.
PARSE_STATUS_FILE_ALREADY_OPEN = 100,
PARSE_STATUS_FILE_NOT_OPEN = 101,
PARSE_STATUS_FILE_OPEN_FAILED = 102,
PARSE_STATUS_ERRORS_OCCURRED = 500,
// Errors that any object can generate.
PARSE_STATUS_GENERIC_ERROR = 1000,
PARSE_STATUS_ALLOC_FAILED = 1001,
PARSE_STATUS_ACCESS_DENIED = 1002,
PARSE_STATUS_INVALID_PARAMETER = 1003,
PARSE_STATUS_UNKNOWN_TYPE = 2000,
};
#endif // !defined( PARSE_STATUS_H )
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.