Openholo  v5.0
Open Source Digital Holographic Library
tinyxml2::StrPair Class Reference

#include <tinyxml2.h>

Public Types

enum  {
  NEEDS_ENTITY_PROCESSING = 0x01, NEEDS_NEWLINE_NORMALIZATION = 0x02, NEEDS_WHITESPACE_COLLAPSING = 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
}
 
enum  {
  NEEDS_ENTITY_PROCESSING = 0x01, NEEDS_NEWLINE_NORMALIZATION = 0x02, NEEDS_WHITESPACE_COLLAPSING = 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
}
 
enum  {
  NEEDS_ENTITY_PROCESSING = 0x01, NEEDS_NEWLINE_NORMALIZATION = 0x02, NEEDS_WHITESPACE_COLLAPSING = 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, int *curLineNumPtr)
 
char * ParseName (char *in)
 
void TransferTo (StrPair *other)
 
void Reset ()
 
 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, int *curLineNumPtr)
 
char * ParseName (char *in)
 
void TransferTo (StrPair *other)
 
void Reset ()
 
 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, int *curLineNumPtr)
 
char * ParseName (char *in)
 
void TransferTo (StrPair *other)
 
void Reset ()
 

Detailed Description

Definition at line 133 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 136 of file tinyxml2.h.

◆ anonymous enum

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

Definition at line 136 of file tinyxml2.h.

◆ anonymous enum

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

Definition at line 136 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ StrPair() [1/3]

tinyxml2::StrPair::StrPair ( )
inline

Definition at line 149 of file tinyxml2.h.

◆ ~StrPair() [1/3]

tinyxml2::StrPair::~StrPair ( )

Definition at line 138 of file tinyxml2.cpp.

◆ StrPair() [2/3]

tinyxml2::StrPair::StrPair ( )
inline

Definition at line 149 of file tinyxml2.h.

◆ ~StrPair() [2/3]

tinyxml2::StrPair::~StrPair ( )

◆ StrPair() [3/3]

tinyxml2::StrPair::StrPair ( )
inline

Definition at line 149 of file tinyxml2.h.

◆ ~StrPair() [3/3]

tinyxml2::StrPair::~StrPair ( )

Member Function Documentation

◆ Empty() [1/3]

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

Definition at line 163 of file tinyxml2.h.

◆ Empty() [2/3]

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

Definition at line 163 of file tinyxml2.h.

◆ Empty() [3/3]

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

Definition at line 163 of file tinyxml2.h.

◆ GetStr() [1/3]

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

◆ GetStr() [2/3]

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

◆ GetStr() [3/3]

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

Definition at line 267 of file tinyxml2.cpp.

◆ ParseName() [1/3]

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

◆ ParseName() [2/3]

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

◆ ParseName() [3/3]

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

Definition at line 218 of file tinyxml2.cpp.

◆ ParseText() [1/3]

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

Definition at line 193 of file tinyxml2.cpp.

◆ ParseText() [2/3]

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

◆ ParseText() [3/3]

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

◆ Reset() [1/3]

void tinyxml2::StrPair::Reset ( )

◆ Reset() [2/3]

void tinyxml2::StrPair::Reset ( )

Definition at line 169 of file tinyxml2.cpp.

◆ Reset() [3/3]

void tinyxml2::StrPair::Reset ( )

◆ Set() [1/3]

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

Definition at line 152 of file tinyxml2.h.

◆ Set() [2/3]

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

Definition at line 152 of file tinyxml2.h.

◆ Set() [3/3]

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

Definition at line 152 of file tinyxml2.h.

◆ SetInternedStr() [1/3]

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

Definition at line 167 of file tinyxml2.h.

◆ SetInternedStr() [2/3]

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

Definition at line 167 of file tinyxml2.h.

◆ SetInternedStr() [3/3]

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

Definition at line 167 of file tinyxml2.h.

◆ SetStr() [1/3]

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

◆ SetStr() [2/3]

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

Definition at line 180 of file tinyxml2.cpp.

◆ SetStr() [3/3]

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

◆ TransferTo() [1/3]

void tinyxml2::StrPair::TransferTo ( StrPair other)

Definition at line 144 of file tinyxml2.cpp.

◆ TransferTo() [2/3]

void tinyxml2::StrPair::TransferTo ( StrPair other)

◆ TransferTo() [3/3]

void tinyxml2::StrPair::TransferTo ( StrPair other)

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