Logo ROOT   6.12/07
Reference Guide
Namespaces | Typedefs | Functions
RConversionRuleParser.cxx File Reference
#include "RConversionRuleParser.h"
#include "TSchemaRuleProcessor.h"
#include <algorithm>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for RConversionRuleParser.cxx:

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 

Typedefs

typedef std::list< std::pair< ROOT::Internal::TSchemaType, std::string > > ROOT::SourceTypeList_t
 

Functions

static std::string::size_type ROOT::FindEndSymbol (std::string &command)
 
void ROOT::GetRuleIncludes (std::list< std::string > &result)
 Get the list of includes specified in the shema rules. More...
 
bool ROOT::HasValidDataMembers (SchemaRuleMap_t &rule, MembersTypeMap_t &members, std::string &error_string)
 Check if given rule contains references to valid data members. More...
 
bool ROOT::ParseRule (std::string command, ROOT::Internal::MembersMap_t &result, std::string &error_string)
 Parse the schema rule as specified in the LinkDef file. More...
 
void ROOT::ProcessReadPragma (const char *args, std::string &error_string)
 I am being called when a read pragma is encountered. More...
 
void ROOT::ProcessReadRawPragma (const char *args, std::string &error_string)
 I am being called then a readraw pragma is encountered. More...
 
static void ROOT::StrReplace (std::string &proc, const std::string &pat, const std::string &tr)
 Replace all accurances of given string with other string. More...
 
static Bool_t ROOT::ValidateRule (const std::map< std::string, std::string > &rule, std::string &error_string)
 Validate if the user specified rules are correct. More...
 
static void ROOT::WriteAutoVariables (const std::list< std::string > &target, const SourceTypeList_t &source, MembersTypeMap_t &members, std::string &className, std::string &mappedName, std::ostream &output)
 Write down the sources. More...
 
void ROOT::WriteReadRawRuleFunc (SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output)
 Write the conversion function for ReadRaw rule, the function name is being written to rule["funcname"]. More...
 
void ROOT::WriteReadRuleFunc (SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output)
 Write the conversion function for Read rule, the function name is being written to rule["funcname"]. More...
 
void ROOT::WriteSchemaList (std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output)
 Write schema rules. More...