Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XMLReader Class Reference

Definition at line 35 of file XMLReader.h.

Classes

class  Attributes
 

Public Member Functions

 XMLReader (cling::Interpreter &interp)
 
bool Parse (const std::string &fileName, SelectionRules &out)
 

Private Types

enum  ETagNames {
  kClass , kFunction , kVariable , kEnum ,
  kMethod , kEndMethod , kField , kEndField ,
  kProperties , kVersion , kStartIgnore , kLcgdict ,
  kSelection , kExclusion , kEndClass , kEndStruct ,
  kEndSelection , kEndExclusion , kEndLcgdict , kBeginIoread ,
  kEndIoread , kBeginIoreadRaw , kEndIoreadRaw , kInvalid ,
  kNumTagNames , kTypedef
}
 

Static Private Member Functions

static bool CheckIsTagOK (const std::string &tag)
 
static bool GetAttributes (const std::string &tag, std::vector< Attributes > &out, const char *lineNum)
 
static ETagNames GetNameOfTag (const std::string &tag, std::string &name)
 
static bool GetNextTag (std::ifstream &file, std::string &out, int &lineCount)
 
static bool IsClosingTag (const std::string &tag)
 
static bool IsStandaloneTag (const std::string &tag)
 
static bool IsTagComment (const std::string &tag)
 
static void PopulateMap ()
 

Private Attributes

long fCount
 
cling::Interpreter & fInterp
 

Static Private Attributes

static std::map< std::string, ETagNamesfgMapTagNames
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/core/dictgen/res/XMLReader.h>

Member Enumeration Documentation

◆ ETagNames

enum XMLReader::ETagNames
private
Enumerator
kClass 
kFunction 
kVariable 
kEnum 
kMethod 
kEndMethod 
kField 
kEndField 
kProperties 
kVersion 
kStartIgnore 
kLcgdict 
kSelection 
kExclusion 
kEndClass 
kEndStruct 
kEndSelection 
kEndExclusion 
kEndLcgdict 
kBeginIoread 
kEndIoread 
kBeginIoreadRaw 
kEndIoreadRaw 
kInvalid 
kNumTagNames 
kTypedef 

Definition at line 55 of file XMLReader.h.

Constructor & Destructor Documentation

◆ XMLReader()

XMLReader::XMLReader ( cling::Interpreter &  interp)
inline

Definition at line 101 of file XMLReader.h.

Member Function Documentation

◆ CheckIsTagOK()

bool XMLReader::CheckIsTagOK ( const std::string &  tag)
staticprivate

Definition at line 209 of file XMLReader.cxx.

◆ GetAttributes()

bool XMLReader::GetAttributes ( const std::string &  tag,
std::vector< Attributes > &  out,
const char *  lineNum 
)
staticprivate

Definition at line 321 of file XMLReader.cxx.

◆ GetNameOfTag()

XMLReader::ETagNames XMLReader::GetNameOfTag ( const std::string &  tag,
std::string &  name 
)
staticprivate

Definition at line 296 of file XMLReader.cxx.

◆ GetNextTag()

bool XMLReader::GetNextTag ( std::ifstream &  file,
std::string &  out,
int lineCount 
)
staticprivate

Definition at line 72 of file XMLReader.cxx.

◆ IsClosingTag()

bool XMLReader::IsClosingTag ( const std::string &  tag)
staticprivate

Definition at line 285 of file XMLReader.cxx.

◆ IsStandaloneTag()

bool XMLReader::IsStandaloneTag ( const std::string &  tag)
staticprivate

Definition at line 275 of file XMLReader.cxx.

◆ IsTagComment()

static bool XMLReader::IsTagComment ( const std::string &  tag)
staticprivate

◆ Parse()

bool XMLReader::Parse ( const std::string &  fileName,
SelectionRules out 
)

Definition at line 453 of file XMLReader.cxx.

◆ PopulateMap()

void XMLReader::PopulateMap ( )
staticprivate

Definition at line 29 of file XMLReader.cxx.

Member Data Documentation

◆ fCount

long XMLReader::fCount
private

Definition at line 47 of file XMLReader.h.

◆ fgMapTagNames

std::map< std::string, XMLReader::ETagNames > XMLReader::fgMapTagNames
staticprivate

Definition at line 85 of file XMLReader.h.

◆ fInterp

cling::Interpreter& XMLReader::fInterp
private

Definition at line 48 of file XMLReader.h.

  • core/dictgen/res/XMLReader.h
  • core/dictgen/src/XMLReader.cxx