ROOT  6.06/09
Reference Guide
Classes | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XMLReader Class Reference

Definition at line 34 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 void PopulateMap ()
 
static bool GetNextTag (std::ifstream &file, std::string &out, int &lineCount)
 
static bool IsStandaloneTag (const std::string &tag)
 
static bool IsClosingTag (const std::string &tag)
 
static ETagNames GetNameOfTag (const std::string &tag, std::string &name)
 
static bool GetAttributes (const std::string &tag, std::vector< Attributes > &out, const char *lineNum)
 
static bool CheckIsTagOK (const std::string &tag)
 
static bool IsTagComment (const std::string &tag)
 

Private Attributes

long fCount
 
cling::Interpreter & fInterp
 

Static Private Attributes

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

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/core/metautils/src/XMLReader.h>

+ Collaboration diagram for XMLReader:

Member Enumeration Documentation

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 54 of file XMLReader.h.

Constructor & Destructor Documentation

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

Definition at line 100 of file XMLReader.h.

Member Function Documentation

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

Definition at line 209 of file XMLReader.cxx.

Referenced by GetNextTag().

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

Definition at line 321 of file XMLReader.cxx.

Referenced by Parse().

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

Definition at line 296 of file XMLReader.cxx.

Referenced by GetAttributes(), and Parse().

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

Definition at line 72 of file XMLReader.cxx.

Referenced by Parse().

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

Definition at line 285 of file XMLReader.cxx.

Referenced by Parse().

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

Definition at line 275 of file XMLReader.cxx.

Referenced by GetAttributes(), and Parse().

static bool XMLReader::IsTagComment ( const std::string &  tag)
staticprivate
bool XMLReader::Parse ( const std::string &  fileName,
SelectionRules out 
)

Definition at line 453 of file XMLReader.cxx.

void XMLReader::PopulateMap ( )
staticprivate

Definition at line 29 of file XMLReader.cxx.

Referenced by Parse().

Member Data Documentation

long XMLReader::fCount
private

Definition at line 46 of file XMLReader.h.

Referenced by Parse().

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

Definition at line 84 of file XMLReader.h.

Referenced by PopulateMap().

cling::Interpreter& XMLReader::fInterp
private

Definition at line 47 of file XMLReader.h.

Referenced by Parse().


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