Sha256: 7f58ef76289bdadc2806a76a28f3f4d264bd9609f274c472a8bcdeb45394e8b6

Contents?: true

Size: 1.19 KB

Versions: 14

Compression:

Stored size: 1.19 KB

Contents

#include "StdAfx.h"

//-----------------------------------------------------------------------------

CExpat::CExpat()
	{
	// Open and set up expat to parse the xml
	P = XML_ParserCreate(NULL);
	}

//-----------------------------------------------------------------------------

CExpat::~CExpat()
	{
	XML_ParserFree(P);
	}

//-----------------------------------------------------------------------------

void CExpat::SetElementHandler(XML_StartElementHandler start, XML_EndElementHandler end)
	{
	XML_SetElementHandler(P, start, end);
	}

//-----------------------------------------------------------------------------

int CExpat::Parse(const char *s, int len, int is_final)
	{
	return XML_Parse(P, s, len, is_final);
	}

//-----------------------------------------------------------------------------

enum XML_Error CExpat::GetErrorCode(void)
	{
	return XML_GetErrorCode(P);
	}

//-----------------------------------------------------------------------------

const XML_LChar *CExpat::ErrorString(enum XML_Error error)
	{
	return XML_ErrorString(error);
	}

//-----------------------------------------------------------------------------

void CExpat::SetUserData(void *user_data)
	{
	XML_SetUserData(P, user_data);
	}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rhodes-7.6.0 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-7.5.1 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-7.4.1 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-7.1.17 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-6.2.0 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-6.0.11 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.18 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.17 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.15 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.0.22 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.2 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.0.7 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.0.3 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp
rhodes-5.5.0 neon/Helium/HeliumForWindows/Implementation/Common/Private/odax/CExpat.cpp