ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
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)
void TransferTo (StrPair *other)

Private Types

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

Private Member Functions

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

Private Attributes

int _flags
char * _start
char * _end

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 

◆ anonymous enum

anonymous enum
private
Enumerator
NEEDS_FLUSH 
NEEDS_DELETE 

Constructor & Destructor Documentation

◆ StrPair() [1/2]

tinyxml2::StrPair::StrPair ( )
inline
Here is the caller graph for this function:

◆ ~StrPair()

tinyxml2::StrPair::~StrPair ( )
Here is the call graph for this function:

◆ StrPair() [2/2]

tinyxml2::StrPair::StrPair ( const StrPair & other)
private
Here is the call graph for this function:

Member Function Documentation

◆ CollapseWhitespace()

void tinyxml2::StrPair::CollapseWhitespace ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Empty()

bool tinyxml2::StrPair::Empty ( ) const
inline
Here is the caller graph for this function:

◆ GetStr()

const char * tinyxml2::StrPair::GetStr ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void tinyxml2::StrPair::operator= ( StrPair & other)
private
Here is the call graph for this function:

◆ ParseName()

char * tinyxml2::StrPair::ParseName ( char * in)
Here is the call graph for this function:

◆ ParseText()

char * tinyxml2::StrPair::ParseText ( char * in,
const char * endTag,
int strFlags )
Here is the call graph for this function:

◆ Reset()

void tinyxml2::StrPair::Reset ( )
private
Here is the caller graph for this function:

◆ Set()

void tinyxml2::StrPair::Set ( char * start,
char * end,
int flags )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetInternedStr()

void tinyxml2::StrPair::SetInternedStr ( const char * str)
inline
Here is the call graph for this function:

◆ SetStr()

void tinyxml2::StrPair::SetStr ( const char * str,
int flags = 0 )
Here is the call graph for this function:

◆ TransferTo()

void tinyxml2::StrPair::TransferTo ( StrPair * other)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _end

char* tinyxml2::StrPair::_end
private

◆ _flags

int tinyxml2::StrPair::_flags
private

◆ _start

char* tinyxml2::StrPair::_start
private

The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/libTierces/tinyxml2.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/libTierces/tinyxml2.cpp