ReactOS  0.4.12-dev-75-g00dd17e
tinyxml2 Namespace Reference

Classes

class  DynArray
 
struct  Entity
 
struct  LongFitsIntoSizeTMinusOne
 
class  MemPool
 
class  MemPoolT
 
class  StrPair
 
class  XMLAttribute
 
class  XMLComment
 
class  XMLConstHandle
 
class  XMLDeclaration
 
class  XMLDocument
 
class  XMLElement
 
class  XMLHandle
 
class  XMLNode
 
class  XMLPrinter
 
class  XMLText
 
class  XMLUnknown
 
class  XMLUtil
 
class  XMLVisitor
 

Enumerations

enum  XMLError {
  XML_SUCCESS = 0, XML_NO_ERROR = 0, XML_NO_ATTRIBUTE, XML_WRONG_ATTRIBUTE_TYPE,
  XML_ERROR_FILE_NOT_FOUND, XML_ERROR_FILE_COULD_NOT_BE_OPENED, XML_ERROR_FILE_READ_ERROR, XML_ERROR_ELEMENT_MISMATCH,
  XML_ERROR_PARSING_ELEMENT, XML_ERROR_PARSING_ATTRIBUTE, XML_ERROR_IDENTIFYING_TAG, XML_ERROR_PARSING_TEXT,
  XML_ERROR_PARSING_CDATA, XML_ERROR_PARSING_COMMENT, XML_ERROR_PARSING_DECLARATION, XML_ERROR_PARSING_UNKNOWN,
  XML_ERROR_EMPTY_DOCUMENT, XML_ERROR_MISMATCHED_ELEMENT, XML_ERROR_PARSING, XML_CAN_NOT_CONVERT_TEXT,
  XML_NO_TEXT_NODE, XML_ERROR_COUNT
}
 
enum  Whitespace { PRESERVE_WHITESPACE, COLLAPSE_WHITESPACE }
 

Functions

static FILEcallfopen (const char *filepath, const char *mode)
 

Variables

static const int NUM_ENTITIES = 5
 
static const Entity entities [NUM_ENTITIES]
 

Enumeration Type Documentation

◆ Whitespace

Enumerator
PRESERVE_WHITESPACE 
COLLAPSE_WHITESPACE 

Definition at line 1509 of file tinyxml2.h.

◆ XMLError

Enumerator
XML_SUCCESS 
XML_NO_ERROR 
XML_NO_ATTRIBUTE 
XML_WRONG_ATTRIBUTE_TYPE 
XML_ERROR_FILE_NOT_FOUND 
XML_ERROR_FILE_COULD_NOT_BE_OPENED 
XML_ERROR_FILE_READ_ERROR 
XML_ERROR_ELEMENT_MISMATCH 
XML_ERROR_PARSING_ELEMENT 
XML_ERROR_PARSING_ATTRIBUTE 
XML_ERROR_IDENTIFYING_TAG 
XML_ERROR_PARSING_TEXT 
XML_ERROR_PARSING_CDATA 
XML_ERROR_PARSING_COMMENT 
XML_ERROR_PARSING_DECLARATION 
XML_ERROR_PARSING_UNKNOWN 
XML_ERROR_EMPTY_DOCUMENT 
XML_ERROR_MISMATCHED_ELEMENT 
XML_ERROR_PARSING 
XML_CAN_NOT_CONVERT_TEXT 
XML_NO_TEXT_NODE 
XML_ERROR_COUNT 

Definition at line 486 of file tinyxml2.h.

486  {
487  XML_SUCCESS = 0,
488  XML_NO_ERROR = 0,
508 
510 };

Function Documentation

◆ callfopen()

static FILE* tinyxml2::callfopen ( const char filepath,
const char mode 
)
static

Definition at line 1872 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLDocument::LoadFile(), and tinyxml2::XMLDocument::SaveFile().

1873 {
1874  TIXMLASSERT( filepath );
1875  TIXMLASSERT( mode );
1876 #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
1877  FILE* fp = 0;
1878  errno_t err = fopen_s( &fp, filepath, mode );
1879  if ( err ) {
1880  return 0;
1881  }
1882 #else
1883  FILE* fp = fopen( filepath, mode );
1884 #endif
1885  return fp;
1886 }
int CDECL fopen_s(FILE **pFile, const char *filename, const char *mode)
Definition: file.c:3255
int errno_t
Definition: crtdefs.h:353
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
#define err(...)
#define TIXMLASSERT(x)
Definition: tinyxml2.h:88

Variable Documentation

◆ entities

const Entity tinyxml2::entities[NUM_ENTITIES]
static
Initial value:
= {
{ "quot", 4, DOUBLE_QUOTE },
{ "amp", 3, '&' },
{ "apos", 4, SINGLE_QUOTE },
{ "lt", 2, '<' },
{ "gt", 2, '>' }
}
static const char DOUBLE_QUOTE
Definition: tinyxml2.cpp:109
static const char SINGLE_QUOTE
Definition: tinyxml2.cpp:108

Definition at line 129 of file tinyxml2.cpp.

Referenced by xmlIsMixedElement().

◆ NUM_ENTITIES

const int tinyxml2::NUM_ENTITIES = 5
static