Jetson Inference
DNN Vision Library
tinyxml2::StrPair Class Reference

#include <xml.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
}
 

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 ()
 

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 

Constructor & Destructor Documentation

◆ StrPair()

tinyxml2::StrPair::StrPair ( )
inline

◆ ~StrPair()

tinyxml2::StrPair::~StrPair ( )

Member Function Documentation

◆ Empty()

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

◆ 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,
int *  curLineNumPtr 
)

◆ Reset()

void tinyxml2::StrPair::Reset ( )

◆ Set()

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

◆ SetInternedStr()

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

◆ SetStr()

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

◆ TransferTo()

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

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