Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
tinyxml2::StrPair Class Reference

#include <tinyxml2.h>

Public Types

enum  Mode {
  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

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

Private Types

enum  { NEEDS_FLUSH = 0x100, NEEDS_DELETE = 0x200 }
 

Private Member Functions

void CollapseWhitespace ()
 
void operator= (const StrPair &other)
 
 StrPair (const StrPair &other)
 

Private Attributes

char * _end
 
int _flags
 
char * _start
 

Detailed Description

Definition at line 133 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NEEDS_FLUSH 
NEEDS_DELETE 

Definition at line 183 of file tinyxml2.h.

◆ Mode

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/2]

tinyxml2::StrPair::StrPair ( )
inline

Definition at line 149 of file tinyxml2.h.

◆ ~StrPair()

tinyxml2::StrPair::~StrPair ( )

Definition at line 157 of file tinyxml2.cpp.

◆ StrPair() [2/2]

tinyxml2::StrPair::StrPair ( const StrPair other)
private

Member Function Documentation

◆ CollapseWhitespace()

void tinyxml2::StrPair::CollapseWhitespace ( )
private

Definition at line 257 of file tinyxml2.cpp.

◆ Empty()

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

Definition at line 163 of file tinyxml2.h.

◆ GetStr()

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

Definition at line 286 of file tinyxml2.cpp.

◆ operator=()

void tinyxml2::StrPair::operator= ( const StrPair other)
private

◆ ParseName()

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

Definition at line 237 of file tinyxml2.cpp.

◆ ParseText()

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

Definition at line 212 of file tinyxml2.cpp.

◆ Reset()

void tinyxml2::StrPair::Reset ( )

Definition at line 188 of file tinyxml2.cpp.

◆ Set()

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

Definition at line 152 of file tinyxml2.h.

◆ SetInternedStr()

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

Definition at line 167 of file tinyxml2.h.

◆ SetStr()

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

Definition at line 199 of file tinyxml2.cpp.

◆ TransferTo()

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

Definition at line 163 of file tinyxml2.cpp.

Member Data Documentation

◆ _end

char* tinyxml2::StrPair::_end
private

Definition at line 190 of file tinyxml2.h.

◆ _flags

int tinyxml2::StrPair::_flags
private

Definition at line 188 of file tinyxml2.h.

◆ _start

char* tinyxml2::StrPair::_start
private

Definition at line 189 of file tinyxml2.h.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19