Project

General

Profile

SO3Engine
tinyxml2::StrPair Class Reference

#include <tinyxml2.h>

Public Types

enum  {
  NEEDS_ENTITY_PROCESSING = 0x01 , NEEDS_NEWLINE_NORMALIZATION = 0x02 , COLLAPSE_WHITESPACE = 0x04 , TEXT_ELEMENT = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION ,
  TEXT_ELEMENT_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION , ATTRIBUTE_NAME = 0 , ATTRIBUTE_VALUE = NEEDS_ENTITY_PROCESSING | NEEDS_NEWLINE_NORMALIZATION , ATTRIBUTE_VALUE_LEAVE_ENTITIES = NEEDS_NEWLINE_NORMALIZATION ,
  COMMENT = NEEDS_NEWLINE_NORMALIZATION
}
 

Public Member Functions

 StrPair ()
 
 ~StrPair ()
 
void Set (char *start, char *end, int flags)
 
const char * GetStr ()
 
bool Empty () const
 
void SetInternedStr (const char *str)
 
void SetStr (const char *str, int flags=0)
 
char * ParseText (char *in, const char *endTag, int strFlags)
 
char * ParseName (char *in)
 

Detailed Description

Definition at line 143 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NEEDS_ENTITY_PROCESSING 
NEEDS_NEWLINE_NORMALIZATION 
COLLAPSE_WHITESPACE 
TEXT_ELEMENT 
TEXT_ELEMENT_LEAVE_ENTITIES 
ATTRIBUTE_NAME 
ATTRIBUTE_VALUE 
ATTRIBUTE_VALUE_LEAVE_ENTITIES 
COMMENT 

Definition at line 146 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ StrPair()

tinyxml2::StrPair::StrPair ( )
inline

Definition at line 159 of file tinyxml2.h.

◆ ~StrPair()

tinyxml2::StrPair::~StrPair ( )

Member Function Documentation

◆ Empty()

bool tinyxml2::StrPair::Empty ( ) const
inline

Definition at line 171 of file tinyxml2.h.

◆ GetStr()

const char * tinyxml2::StrPair::GetStr ( )

◆ ParseName()

char * tinyxml2::StrPair::ParseName ( char *  in)

◆ ParseText()

char * tinyxml2::StrPair::ParseText ( char *  in,
const char *  endTag,
int  strFlags 
)

◆ Set()

void tinyxml2::StrPair::Set ( char *  start,
char *  end,
int  flags 
)
inline

Definition at line 162 of file tinyxml2.h.

◆ SetInternedStr()

void tinyxml2::StrPair::SetInternedStr ( const char *  str)
inline

Definition at line 175 of file tinyxml2.h.

◆ SetStr()

void tinyxml2::StrPair::SetStr ( const char *  str,
int  flags = 0 
)

The documentation for this class was generated from the following file: