cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
var Set ( var start, var end, var flags)
local Set ( local start, local end, local flags)
const char * GetStr ()
local 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)

Member Enumeration Documentation

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 
var 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 
local 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 

Constructor & Destructor Documentation

StrPair ( )
inline
~StrPair ( )
var ~StrPair ( )
local ~StrPair ( )

Member Function Documentation

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

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