SourceMod SDK  1.7
ITextParsers.h File Reference

Defines various text/file parsing functions, as well as UTF-8 support code. More...

#include <IShareSys.h>

Go to the source code of this file.

Classes

class  SourceMod::ITextListener_INI
 Contains parse events for INI files. More...
 
struct  SourceMod::SMCStates
 States for line/column. More...
 
class  SourceMod::ITextListener_SMC
 Describes the events available for reading an SMC stream. More...
 
class  SourceMod::ITextParsers
 Contains various text stream parsing functions. More...
 

Macros

#define SMINTERFACE_TEXTPARSERS_NAME   "ITextParsers"
 
#define SMINTERFACE_TEXTPARSERS_VERSION   4
 

Enumerations

enum  SMCResult { SourceMod::SMCResult_Continue, SourceMod::SMCResult_Halt, SourceMod::SMCResult_HaltFail }
 Lists actions to take when an SMC parse hook is done. More...
 
enum  SMCError {
  SourceMod::SMCError_Okay = 0, SourceMod::SMCError_StreamOpen, SourceMod::SMCError_StreamError, SourceMod::SMCError_Custom,
  SourceMod::SMCError_InvalidSection1, SourceMod::SMCError_InvalidSection2, SourceMod::SMCError_InvalidSection3, SourceMod::SMCError_InvalidSection4,
  SourceMod::SMCError_InvalidSection5, SourceMod::SMCError_InvalidTokens, SourceMod::SMCError_TokenOverflow, SourceMod::SMCError_InvalidProperty1
}
 Lists error codes possible from parsing an SMC file.
 

Functions

unsigned int SourceMod::_GetUTF8CharBytes (const char *stream)
 

Variables

SourceMod::ITextParserstextparsers
 

Detailed Description

Defines various text/file parsing functions, as well as UTF-8 support code.

vim: set ts=4 :

SourceMod

Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3.0, as published by the Free Software Foundation.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

As a special exception, AlliedModders LLC gives you permission to link the code of this program (as well as its derivative works) to "Half-Life 2," the "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software by the Valve Corporation. You must obey the GNU General Public License in all respects for all other code used. Additionally, AlliedModders LLC grants this exception to all derivative works. AlliedModders LLC defines further exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007), or http://www.sourcemod.net/license.php.

Version: $Id$